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.001088/0.001088, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001565/0.001565, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.886/1.886, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.00056/0.0005602, allocations: 13.59 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3056, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00265/0.3083, allocations: 1.835 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7834/1.092, allocations: 136.6 MB / 0.9226 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/1.092, allocations: 5.25 kB / 0.9226 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/1.093, allocations: 0.7482 MB / 0.9234 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000767/1.094, allocations: 479.1 kB / 0.9238 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/1.095, allocations: 306.5 kB / 0.9241 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006276/1.096, allocations: 484.1 kB / 0.9246 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/1.096, allocations: 70.41 kB / 0.9246 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/1.097, allocations: 302.5 kB / 0.9249 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/1.097, allocations: 392.8 kB / 0.9253 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/1.097, allocations: 9.312 kB / 0.9253 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/1.098, allocations: 278.2 kB / 0.9256 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/1.098, allocations: 180.1 kB / 0.9257 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006616/1.099, allocations: 117.2 kB / 0.9259 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00097/1.1, allocations: 0.5197 MB / 0.9264 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/1.1, allocations: 0 / 0.9264 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.566e-06/1.1, allocations: 2.562 kB / 0.9264 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.1, allocations: 0 / 0.9264 GB, free: 21.52 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.001903/1.102, allocations: 0.9792 MB / 0.9273 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.102, allocations: 12.95 kB / 0.9273 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.644e-05/1.102, allocations: 51.73 kB / 0.9274 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.104, allocations: 195.2 kB / 0.9276 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/1.104, allocations: 448.3 kB / 0.928 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/1.104, allocations: 19.41 kB / 0.928 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/1.104, allocations: 20.73 kB / 0.928 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/1.105, allocations: 327.8 kB / 0.9283 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.105, allocations: 2.625 kB / 0.9283 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/1.105, allocations: 11.58 kB / 0.9284 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.105, allocations: 5.25 kB / 0.9284 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/1.106, allocations: 336.8 kB / 0.9287 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/1.108, allocations: 1.115 MB / 0.9298 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/1.109, allocations: 399.2 kB / 0.9302 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/1.11, allocations: 209.9 kB / 0.9304 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/1.11, allocations: 7.125 kB / 0.9304 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007388/1.111, allocations: 299.3 kB / 0.9306 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/1.111, allocations: 0 / 0.9306 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007335/1.118, allocations: 1.199 MB / 0.9318 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/1.118, allocations: 83.08 kB / 0.9319 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.12, allocations: 1.346 MB / 0.9332 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/1.121, allocations: 31.55 kB / 0.9332 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/1.121, allocations: 365.5 kB / 0.9336 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.121, allocations: 97.91 kB / 0.9337 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/1.121, allocations: 5.656 kB / 0.9337 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.121, allocations: 316.9 kB / 0.934 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/1.122, allocations: 175.6 kB / 0.9342 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/1.122, allocations: 231.5 kB / 0.9344 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/1.123, allocations: 187.3 kB / 0.9346 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.123, allocations: 4.812 kB / 0.9346 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003644/1.127, allocations: 0.7066 MB / 0.9353 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.127, allocations: 5.625 kB / 0.9353 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.127, allocations: 1.375 kB / 0.9353 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009575/1.128, allocations: 181.3 kB / 0.9354 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/1.128, allocations: 63.66 kB / 0.9355 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/1.135, allocations: 2.104 MB / 0.9375 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/1.135, allocations: 41.33 kB / 0.9376 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/1.135, allocations: 18.91 kB / 0.9376 GB, free: 17.29 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008271/1.136, allocations: 299.4 kB / 0.9379 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/1.137, allocations: 80.06 kB / 0.938 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.141, allocations: 0.7494 MB / 0.9387 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.141, allocations: 3.875 kB / 0.9387 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.141, allocations: 0.6562 kB / 0.9387 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.141, allocations: 7.859 kB / 0.9387 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/1.142, allocations: 0.5668 MB / 0.9393 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.142, allocations: 3.656 kB / 0.9393 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/1.142, allocations: 52 kB / 0.9393 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/1.143, allocations: 173.9 kB / 0.9395 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/1.143, allocations: 12.83 kB / 0.9395 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/1.149, allocations: 2.107 MB / 0.9416 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.149, allocations: 0 / 0.9416 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/1.153, allocations: 0.747 MB / 0.9423 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/1.153, allocations: 155.4 kB / 0.9424 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.153, allocations: 15.7 kB / 0.9424 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/1.154, allocations: 30.58 kB / 0.9425 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/1.154, allocations: 23.52 kB / 0.9425 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/1.154, allocations: 19.12 kB / 0.9425 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001616/1.156, allocations: 0.9988 MB / 0.9435 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.156, allocations: 3.938 kB / 0.9435 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007551/1.156, allocations: 110.1 kB / 0.9436 GB, free: 15.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005013/1.162, allocations: 1.631 MB / 0.9452 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.163, allocations: 0.5443 MB / 0.9457 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.163, allocations: 1.094 kB / 0.9457 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/1.164, allocations: 361.2 kB / 0.9461 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/1.165, allocations: 111 kB / 0.9462 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.181, allocations: 5.032 MB / 0.9511 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.181, allocations: 0.9707 MB / 0.952 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005594/1.182, allocations: 84.34 kB / 0.9521 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.182, allocations: 266.6 kB / 0.9524 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/1.182, allocations: 6 kB / 0.9524 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/1.22, allocations: 16.86 MB / 0.9688 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/1.22, allocations: 251.6 kB / 0.9691 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.488, allocations: 0 / 0.9691 GB, free: 5.043 MB / 0.7325 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/linux/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) Environment - environmentSimulation: