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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.56 kB / 16.27 MB, free: 6.418 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.001285/0.001285, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.619/1.619, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.903/1.903, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001458/0.001459, allocations: 66.56 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3106, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00534/0.316, allocations: 2.205 MB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7599/1.076, allocations: 150.4 MB / 0.9331 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/1.076, allocations: 11.94 kB / 0.9331 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009936/1.077, allocations: 0.7679 MB / 0.9338 GB, free: 1.145 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007533/1.078, allocations: 498.6 kB / 0.9343 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/1.079, allocations: 367.9 kB / 0.9347 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006482/1.08, allocations: 0.5616 MB / 0.9352 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/1.08, allocations: 88.27 kB / 0.9353 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/1.081, allocations: 367.5 kB / 0.9356 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/1.082, allocations: 475.7 kB / 0.9361 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/1.082, allocations: 24 kB / 0.9361 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006638/1.082, allocations: 296.7 kB / 0.9364 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/1.083, allocations: 195.6 kB / 0.9366 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/1.083, allocations: 258 kB / 0.9368 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/1.084, allocations: 0.724 MB / 0.9375 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.084, allocations: 4 kB / 0.9375 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/1.084, allocations: 0 / 0.9375 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.819e-06/1.084, allocations: 0 / 0.9375 GB, free: 13.36 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.001718/1.086, allocations: 1.072 MB / 0.9386 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.086, allocations: 8.031 kB / 0.9386 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/1.087, allocations: 194.7 kB / 0.9388 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/1.088, allocations: 486.8 kB / 0.9392 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/1.088, allocations: 12.38 kB / 0.9393 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/1.088, allocations: 22.06 kB / 0.9393 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/1.089, allocations: 346.8 kB / 0.9396 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.089, allocations: 0 / 0.9396 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/1.089, allocations: 8 kB / 0.9396 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.089, allocations: 4 kB / 0.9396 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.09, allocations: 340.6 kB / 0.9399 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/1.093, allocations: 1.106 MB / 0.941 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.094, allocations: 401.3 kB / 0.9414 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/1.094, allocations: 212.4 kB / 0.9416 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/1.094, allocations: 7.984 kB / 0.9416 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008273/1.095, allocations: 308.4 kB / 0.9419 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/1.095, allocations: 0 / 0.9419 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008575/1.104, allocations: 1.221 MB / 0.9431 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/1.104, allocations: 81.05 kB / 0.9432 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.106, allocations: 1.349 MB / 0.9445 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/1.106, allocations: 29.7 kB / 0.9445 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/1.106, allocations: 376.4 kB / 0.9449 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.106, allocations: 90.7 kB / 0.945 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.106, allocations: 69.66 kB / 0.945 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.106, allocations: 319.5 kB / 0.9453 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/1.107, allocations: 171.9 kB / 0.9455 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/1.108, allocations: 231.8 kB / 0.9457 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.109, allocations: 395.7 kB / 0.9461 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.109, allocations: 3.938 kB / 0.9461 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003895/1.113, allocations: 0.7098 MB / 0.9468 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.113, allocations: 8 kB / 0.9468 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.113, allocations: 0 / 0.9468 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.114, allocations: 184.7 kB / 0.947 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/1.114, allocations: 55.91 kB / 0.947 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/1.122, allocations: 2.3 MB / 0.9493 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/1.123, allocations: 52.75 kB / 0.9493 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/1.123, allocations: 11.98 kB / 0.9494 GB, free: 0.8164 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.0004892/1.123, allocations: 294.2 kB / 0.9496 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.124, allocations: 86.91 kB / 0.9497 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/1.127, allocations: 0.7494 MB / 0.9504 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.128, allocations: 7.984 kB / 0.9505 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.128, allocations: 0 / 0.9505 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.128, allocations: 0 / 0.9505 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/1.128, allocations: 0.5663 MB / 0.951 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.128, allocations: 2.062 kB / 0.951 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/1.129, allocations: 47.91 kB / 0.9511 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009415/1.129, allocations: 184.6 kB / 0.9512 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/1.13, allocations: 11.98 kB / 0.9512 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/1.137, allocations: 2.296 MB / 0.9535 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.137, allocations: 3.938 kB / 0.9535 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/1.141, allocations: 0.7516 MB / 0.9542 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/1.142, allocations: 145.7 kB / 0.9544 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.142, allocations: 15.88 kB / 0.9544 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/1.142, allocations: 27.97 kB / 0.9544 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/1.142, allocations: 23.97 kB / 0.9544 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/1.142, allocations: 15.98 kB / 0.9544 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001405/1.144, allocations: 1.003 MB / 0.9554 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.705e-06/1.144, allocations: 0 / 0.9554 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005877/1.144, allocations: 119.8 kB / 0.9555 GB, free: 10.24 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.001211/1.146, allocations: 436.4 kB / 0.956 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.148, allocations: 0.5778 MB / 0.9565 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.148, allocations: 0 / 0.9565 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/1.149, allocations: 358.5 kB / 0.9569 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/1.149, allocations: 128.5 kB / 0.957 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/1.152, allocations: 1.645 MB / 0.9586 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/1.153, allocations: 0.9761 MB / 0.9595 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.153, allocations: 47.41 kB / 0.9596 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of SimCode: time 1.303e-06/1.153, allocations: 0 / 0.9596 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of Templates: time 0.02041/1.174, allocations: 11.1 MB / 0.9704 GB, free: 11.2 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (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 & ./Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)