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.001382/0.001383, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001369/0.001369, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.623/1.623, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001405/0.001405, allocations: 75.88 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2647, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004121/0.2689, allocations: 2.204 MB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7633/1.032, allocations: 150.4 MB / 0.9338 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/1.033, allocations: 11.94 kB / 0.9338 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/1.034, allocations: 0.7756 MB / 0.9346 GB, free: 0.6133 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.0008671/1.035, allocations: 490.6 kB / 0.9351 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/1.036, allocations: 367 kB / 0.9354 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/1.037, allocations: 0.5616 MB / 0.936 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.037, allocations: 93.81 kB / 0.9361 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/1.038, allocations: 352.4 kB / 0.9364 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/1.038, allocations: 480.5 kB / 0.9368 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/1.039, allocations: 27.94 kB / 0.9369 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/1.039, allocations: 299.5 kB / 0.9372 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/1.039, allocations: 187.7 kB / 0.9373 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/1.04, allocations: 258 kB / 0.9376 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/1.041, allocations: 0.7375 MB / 0.9383 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.041, allocations: 4 kB / 0.9383 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.223e-06/1.041, allocations: 0 / 0.9383 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.041, allocations: 1.219 kB / 0.9383 GB, free: 12.83 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.00179/1.043, allocations: 1.072 MB / 0.9394 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.043, allocations: 11.97 kB / 0.9394 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.044, allocations: 194.7 kB / 0.9396 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/1.045, allocations: 498.7 kB / 0.94 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.045, allocations: 16.38 kB / 0.94 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/1.045, allocations: 20 kB / 0.9401 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/1.046, allocations: 334.9 kB / 0.9404 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.046, allocations: 3.984 kB / 0.9404 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/1.046, allocations: 12 kB / 0.9404 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.046, allocations: 4 kB / 0.9404 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.047, allocations: 340.7 kB / 0.9407 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/1.05, allocations: 1.098 MB / 0.9418 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.051, allocations: 415.2 kB / 0.9422 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/1.052, allocations: 208.4 kB / 0.9424 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/1.052, allocations: 4 kB / 0.9424 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008458/1.052, allocations: 302.5 kB / 0.9427 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/1.053, allocations: 0 / 0.9427 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008984/1.061, allocations: 1.222 MB / 0.9439 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/1.062, allocations: 85.09 kB / 0.944 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.063, allocations: 1.349 MB / 0.9453 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/1.064, allocations: 37.7 kB / 0.9453 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/1.064, allocations: 364.4 kB / 0.9457 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.064, allocations: 94.64 kB / 0.9458 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.064, allocations: 73.67 kB / 0.9458 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002756/1.065, allocations: 318 kB / 0.9461 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/1.065, allocations: 171.9 kB / 0.9463 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/1.066, allocations: 227.2 kB / 0.9465 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/1.067, allocations: 403.7 kB / 0.9469 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.067, allocations: 0 / 0.9469 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004024/1.071, allocations: 0.7142 MB / 0.9476 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.071, allocations: 5.406 kB / 0.9476 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.071, allocations: 0 / 0.9476 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.072, allocations: 180.7 kB / 0.9478 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/1.073, allocations: 63.89 kB / 0.9478 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007979/1.081, allocations: 2.291 MB / 0.9501 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/1.082, allocations: 39.8 kB / 0.9501 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/1.082, allocations: 22.16 kB / 0.9501 GB, free: 280 kB / 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.0006064/1.082, allocations: 295.6 kB / 0.9504 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.082, allocations: 82.91 kB / 0.9505 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.087, allocations: 0.7512 MB / 0.9512 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.087, allocations: 4 kB / 0.9512 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.087, allocations: 6.547 kB / 0.9512 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/1.087, allocations: 4 kB / 0.9512 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/1.087, allocations: 0.5673 MB / 0.9518 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.087, allocations: 4 kB / 0.9518 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/1.088, allocations: 51.91 kB / 0.9518 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/1.089, allocations: 172.6 kB / 0.952 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.089, allocations: 19.97 kB / 0.952 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007813/1.097, allocations: 2.289 MB / 0.9543 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.097, allocations: 3.938 kB / 0.9543 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/1.101, allocations: 0.7555 MB / 0.955 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/1.101, allocations: 144 kB / 0.9551 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/1.101, allocations: 16.98 kB / 0.9552 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/1.102, allocations: 27.98 kB / 0.9552 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.102, allocations: 27.91 kB / 0.9552 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/1.102, allocations: 15.97 kB / 0.9552 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001399/1.103, allocations: 0.9998 MB / 0.9562 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.103, allocations: 0 / 0.9562 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006139/1.104, allocations: 115.9 kB / 0.9563 GB, free: 9.695 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.001233/1.105, allocations: 452.4 kB / 0.9567 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.107, allocations: 0.5505 MB / 0.9573 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.107, allocations: 0 / 0.9573 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009721/1.108, allocations: 358.5 kB / 0.9576 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/1.109, allocations: 127.5 kB / 0.9577 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.111, allocations: 1.629 MB / 0.9593 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/1.112, allocations: 0.9645 MB / 0.9603 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.112, allocations: 47.41 kB / 0.9603 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/1.112, allocations: 0 / 0.9603 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of Templates: time 0.01747/1.13, allocations: 11.1 MB / 0.9712 GB, free: 10.7 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)