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.0008464/0.0008464, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004983/0.004984, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.181/1.181, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.511/1.511, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004722/0.0004723, allocations: 12.41 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002085/0.1712, allocations: 1.904 MB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4377/0.6089, allocations: 146.5 MB / 0.933 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.6091, allocations: 6.562 kB / 0.933 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.6098, allocations: 0.7738 MB / 0.9337 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.6103, allocations: 479.1 kB / 0.9342 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.611, allocations: 324.5 kB / 0.9345 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.6116, allocations: 0.5464 MB / 0.935 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.6117, allocations: 75.11 kB / 0.9351 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.6129, allocations: 322.5 kB / 0.9354 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.6133, allocations: 459 kB / 0.9358 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.6133, allocations: 10.5 kB / 0.9358 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.6138, allocations: 288.8 kB / 0.9361 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6139, allocations: 170.3 kB / 0.9363 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.6141, allocations: 271.3 kB / 0.9365 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.6146, allocations: 0.6989 MB / 0.9372 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.6146, allocations: 0 / 0.9372 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6147, allocations: 4 kB / 0.9372 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6147, allocations: 0 / 0.9372 GB, free: 1.387 MB / 0.7169 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.001174/0.6158, allocations: 0.9778 MB / 0.9382 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.6159, allocations: 7.594 kB / 0.9382 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.6159, allocations: 54.53 kB / 0.9382 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6172, allocations: 192 kB / 0.9384 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.6177, allocations: 491.2 kB / 0.9389 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.6177, allocations: 13.75 kB / 0.9389 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.6178, allocations: 21.39 kB / 0.9389 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.6185, allocations: 335 kB / 0.9392 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6185, allocations: 3.938 kB / 0.9392 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.6186, allocations: 5.531 kB / 0.9393 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6186, allocations: 6.719 kB / 0.9393 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6197, allocations: 331.7 kB / 0.9396 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.6214, allocations: 1.132 MB / 0.9407 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.6224, allocations: 402.2 kB / 0.9411 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.623, allocations: 204.7 kB / 0.9413 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.623, allocations: 12.3 kB / 0.9413 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.6237, allocations: 302.5 kB / 0.9416 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.6237, allocations: 0 / 0.9416 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007707/0.6314, allocations: 1.204 MB / 0.9427 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.6315, allocations: 80.77 kB / 0.9428 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.633, allocations: 1.341 MB / 0.9441 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.633, allocations: 35.98 kB / 0.9442 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.6333, allocations: 370.5 kB / 0.9445 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.6333, allocations: 97.72 kB / 0.9446 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.6334, allocations: 27.19 kB / 0.9446 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.6335, allocations: 317.5 kB / 0.9449 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.634, allocations: 171.7 kB / 0.9451 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.6346, allocations: 233.2 kB / 0.9453 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.6357, allocations: 398.9 kB / 0.9457 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6357, allocations: 3.938 kB / 0.9457 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003484/0.6392, allocations: 0.7038 MB / 0.9464 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6392, allocations: 7.969 kB / 0.9464 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6392, allocations: 5.594 kB / 0.9464 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009068/0.6401, allocations: 177.2 kB / 0.9466 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.6404, allocations: 61.64 kB / 0.9466 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006299/0.6467, allocations: 2.111 MB / 0.9487 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.6472, allocations: 40.17 kB / 0.9487 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.6472, allocations: 18.48 kB / 0.9487 GB, free: 13 MB / 0.7325 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.0002776/0.6475, allocations: 298.4 kB / 0.949 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.6476, allocations: 82.19 kB / 0.9491 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.6512, allocations: 0.7441 MB / 0.9498 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6512, allocations: 3.156 kB / 0.9498 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.6512, allocations: 5.031 kB / 0.9498 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6512, allocations: 3.219 kB / 0.9498 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.6517, allocations: 0.5683 MB / 0.9504 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6518, allocations: 1 kB / 0.9504 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.652, allocations: 47.75 kB / 0.9504 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008596/0.6529, allocations: 179.6 kB / 0.9506 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6529, allocations: 16.94 kB / 0.9506 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/0.6592, allocations: 2.106 MB / 0.9527 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6592, allocations: 5.219 kB / 0.9527 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.6628, allocations: 0.7514 MB / 0.9534 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6629, allocations: 153.7 kB / 0.9536 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.663, allocations: 6.719 kB / 0.9536 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.6634, allocations: 29.14 kB / 0.9536 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6635, allocations: 25.56 kB / 0.9536 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.6635, allocations: 17.81 kB / 0.9537 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009151/0.6644, allocations: 0.9985 MB / 0.9546 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6644, allocations: 0 / 0.9546 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005893/0.665, allocations: 113.8 kB / 0.9547 GB, free: 10.8 MB / 0.7325 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.004619/0.6697, allocations: 1.637 MB / 0.9563 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.6711, allocations: 0.5427 MB / 0.9569 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6711, allocations: 1.859 kB / 0.9569 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.672, allocations: 357.8 kB / 0.9572 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.6726, allocations: 119.9 kB / 0.9573 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.6851, allocations: 6.735 MB / 0.9639 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.6855, allocations: 0.9704 MB / 0.9648 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.6858, allocations: 83.59 kB / 0.9649 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.686, allocations: 262.9 kB / 0.9652 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6861, allocations: 0 / 0.9652 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9848/1.671, allocations: 16.87 MB / 0.9817 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/1.671, allocations: 267 kB / 0.9819 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/4.149, allocations: 4 kB / 0.9819 GB, free: 13.45 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)