Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 194.6 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.97 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004122/0.2695, allocations: 2.262 MB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7583/1.028, allocations: 148.1 MB / 0.9296 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/1.028, allocations: 5.781 kB / 0.9297 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/1.029, allocations: 0.7698 MB / 0.9304 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008995/1.03, allocations: 477.3 kB / 0.9309 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/1.031, allocations: 324.3 kB / 0.9312 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000896/1.032, allocations: 0.5469 MB / 0.9317 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/1.033, allocations: 80.97 kB / 0.9318 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/1.034, allocations: 328.6 kB / 0.9321 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/1.035, allocations: 469.8 kB / 0.9325 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/1.035, allocations: 11.59 kB / 0.9326 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/1.036, allocations: 292.5 kB / 0.9328 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/1.036, allocations: 187.1 kB / 0.933 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/1.036, allocations: 251.5 kB / 0.9332 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000917/1.037, allocations: 0.7085 MB / 0.9339 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.037, allocations: 0 / 0.9339 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/1.037, allocations: 0 / 0.9339 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.037, allocations: 0 / 0.9339 GB, free: 5.672 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00188/1.039, allocations: 1.077 MB / 0.935 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.039, allocations: 11.69 kB / 0.935 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/1.039, allocations: 57.91 kB / 0.9351 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.041, allocations: 194.1 kB / 0.9352 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/1.041, allocations: 485.3 kB / 0.9357 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.041, allocations: 19.31 kB / 0.9357 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/1.041, allocations: 16.36 kB / 0.9357 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/1.042, allocations: 336.7 kB / 0.9361 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.042, allocations: 2.719 kB / 0.9361 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/1.043, allocations: 11.88 kB / 0.9361 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.043, allocations: 8.812 kB / 0.9361 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.044, allocations: 338.9 kB / 0.9364 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/1.046, allocations: 1.116 MB / 0.9375 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.047, allocations: 398.4 kB / 0.9379 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/1.048, allocations: 208 kB / 0.9381 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/1.048, allocations: 16.81 kB / 0.9381 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009235/1.049, allocations: 302.6 kB / 0.9384 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/1.049, allocations: 0 / 0.9384 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008923/1.058, allocations: 1.224 MB / 0.9396 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.058, allocations: 85.06 kB / 0.9397 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.06, allocations: 1.34 MB / 0.941 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/1.06, allocations: 36.52 kB / 0.941 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/1.06, allocations: 365.4 kB / 0.9413 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.06, allocations: 93.67 kB / 0.9414 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.06, allocations: 70.48 kB / 0.9415 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.06, allocations: 319.3 kB / 0.9418 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/1.061, allocations: 167.9 kB / 0.942 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/1.062, allocations: 238.6 kB / 0.9422 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.063, allocations: 394.6 kB / 0.9426 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.063, allocations: 0.6562 kB / 0.9426 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004199/1.067, allocations: 0.7118 MB / 0.9433 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.067, allocations: 5.562 kB / 0.9433 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.067, allocations: 2.031 kB / 0.9433 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.068, allocations: 181.2 kB / 0.9434 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/1.069, allocations: 69.81 kB / 0.9435 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/1.076, allocations: 2.107 MB / 0.9456 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/1.077, allocations: 40.73 kB / 0.9456 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/1.077, allocations: 18.48 kB / 0.9456 GB, free: 17.31 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000463/1.077, allocations: 294.4 kB / 0.9459 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.077, allocations: 86.14 kB / 0.946 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/1.082, allocations: 0.7609 MB / 0.9467 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.082, allocations: 3.469 kB / 0.9467 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.082, allocations: 5 kB / 0.9467 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.082, allocations: 2.781 kB / 0.9467 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/1.083, allocations: 0.5674 MB / 0.9473 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.083, allocations: 0.5 kB / 0.9473 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/1.083, allocations: 46.34 kB / 0.9473 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/1.084, allocations: 181.1 kB / 0.9475 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/1.084, allocations: 15.05 kB / 0.9475 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/1.091, allocations: 2.113 MB / 0.9496 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.091, allocations: 4 kB / 0.9496 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/1.095, allocations: 0.7552 MB / 0.9503 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/1.096, allocations: 147.1 kB / 0.9505 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/1.096, allocations: 9.406 kB / 0.9505 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/1.096, allocations: 31.16 kB / 0.9505 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/1.096, allocations: 21.12 kB / 0.9505 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/1.096, allocations: 20.14 kB / 0.9506 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001048/1.097, allocations: 1 MB / 0.9515 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.097, allocations: 0 / 0.9515 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005707/1.098, allocations: 111.3 kB / 0.9516 GB, free: 15.14 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005026/1.103, allocations: 1.646 MB / 0.9532 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.105, allocations: 0.5465 MB / 0.9538 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.105, allocations: 0 / 0.9538 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/1.106, allocations: 357 kB / 0.9541 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/1.106, allocations: 114.2 kB / 0.9542 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.121, allocations: 6.74 MB / 0.9608 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/1.122, allocations: 0.9702 MB / 0.9618 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004636/1.122, allocations: 84.05 kB / 0.9618 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.123, allocations: 264.1 kB / 0.9621 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/1.123, allocations: 1.375 kB / 0.9621 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/1.157, allocations: 17.24 MB / 0.9789 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.157, allocations: 265.2 kB / 0.9792 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/3.234, allocations: 5.141 kB / 0.9792 GB, free: 6.195 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)