Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 115.7 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 219 kB / 20.14 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.157/3.157, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 59.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9252/0.9273, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00355/0.9308, allocations: 2.256 MB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2015/1.132, allocations: 153.9 MB / 1.493 GB, free: 10.5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/1.132, allocations: 7.5 kB / 1.493 GB, free: 10.5 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000982/1.133, allocations: 0.7773 MB / 1.493 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000878/1.134, allocations: 0.5274 MB / 1.494 GB, free: 9.832 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/1.135, allocations: 335.3 kB / 1.494 GB, free: 9.586 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007608/1.136, allocations: 0.5845 MB / 1.495 GB, free: 9.27 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/1.136, allocations: 60.02 kB / 1.495 GB, free: 9.238 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/1.138, allocations: 381.9 kB / 1.495 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/1.138, allocations: 0.5282 MB / 1.496 GB, free: 8.828 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/1.138, allocations: 23.69 kB / 1.496 GB, free: 8.828 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/1.139, allocations: 307.2 kB / 1.496 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/1.139, allocations: 187.7 kB / 1.496 GB, free: 8.379 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/1.14, allocations: 277.8 kB / 1.496 GB, free: 8.105 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/1.141, allocations: 0.7543 MB / 1.497 GB, free: 7.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.141, allocations: 0 / 1.497 GB, free: 7.348 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.724e-06/1.141, allocations: 0 / 1.497 GB, free: 7.348 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.141, allocations: 4 kB / 1.497 GB, free: 7.344 MB / 1.17 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.001834/1.142, allocations: 1.111 MB / 1.498 GB, free: 6.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.143, allocations: 12.03 kB / 1.498 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.827e-05/1.143, allocations: 4.375 kB / 1.498 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/1.143, allocations: 50.55 kB / 1.498 GB, free: 6.105 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/1.145, allocations: 239.1 kB / 1.499 GB, free: 5.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/1.145, allocations: 0.4995 MB / 1.499 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/1.145, allocations: 16.38 kB / 1.499 GB, free: 5.316 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/1.145, allocations: 16 kB / 1.499 GB, free: 5.301 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.146, allocations: 338.2 kB / 1.499 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.146, allocations: 0 / 1.499 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/1.146, allocations: 8 kB / 1.499 GB, free: 4.949 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.146, allocations: 4 kB / 1.499 GB, free: 4.945 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.148, allocations: 348.6 kB / 1.5 GB, free: 4.605 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/1.15, allocations: 1.131 MB / 1.501 GB, free: 3.422 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.152, allocations: 390.9 kB / 1.501 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/1.152, allocations: 201.5 kB / 1.501 GB, free: 2.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/1.152, allocations: 7.984 kB / 1.501 GB, free: 2.812 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/1.153, allocations: 312.8 kB / 1.502 GB, free: 2.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.195e-06/1.153, allocations: 0 / 1.502 GB, free: 2.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.009432/1.163, allocations: 1.226 MB / 1.503 GB, free: 1.234 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.163, allocations: 81.11 kB / 1.503 GB, free: 1.137 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.164, allocations: 1.365 MB / 1.504 GB, free: 15.76 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/1.165, allocations: 33.7 kB / 1.504 GB, free: 15.72 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.165, allocations: 376.5 kB / 1.505 GB, free: 15.35 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.165, allocations: 95.17 kB / 1.505 GB, free: 15.26 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.165, allocations: 69.67 kB / 1.505 GB, free: 15.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.165, allocations: 317.9 kB / 1.505 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/1.166, allocations: 183.7 kB / 1.505 GB, free: 14.69 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/1.167, allocations: 231.7 kB / 1.506 GB, free: 14.44 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.168, allocations: 404.8 kB / 1.506 GB, free: 14.03 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.168, allocations: 0 / 1.506 GB, free: 14.03 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004269/1.172, allocations: 0.724 MB / 1.507 GB, free: 13.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/1.173, allocations: 8.062 kB / 1.507 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.173, allocations: 3.938 kB / 1.507 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.174, allocations: 172.7 kB / 1.507 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/1.174, allocations: 67.89 kB / 1.507 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008331/1.182, allocations: 2.296 MB / 1.509 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/1.183, allocations: 47.88 kB / 1.509 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/1.183, allocations: 19.98 kB / 1.509 GB, free: 10.55 MB / 1.186 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.0004548/1.184, allocations: 289.7 kB / 1.51 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.184, allocations: 87.38 kB / 1.51 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/1.188, allocations: 0.7543 MB / 1.51 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.188, allocations: 4 kB / 1.51 GB, free: 9.395 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.188, allocations: 7.922 kB / 1.51 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.188, allocations: 7.984 kB / 1.51 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/1.189, allocations: 0.5742 MB / 1.511 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.189, allocations: 0 / 1.511 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/1.189, allocations: 51.91 kB / 1.511 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/1.19, allocations: 176.6 kB / 1.511 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/1.19, allocations: 15.98 kB / 1.511 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008244/1.199, allocations: 2.287 MB / 1.513 GB, free: 6.082 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.199, allocations: 0 / 1.513 GB, free: 6.082 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/1.203, allocations: 0.7681 MB / 1.514 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/1.203, allocations: 156.4 kB / 1.514 GB, free: 5.117 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/1.203, allocations: 4 kB / 1.514 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/1.204, allocations: 27.97 kB / 1.514 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.204, allocations: 23.97 kB / 1.514 GB, free: 5.062 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/1.204, allocations: 15.97 kB / 1.514 GB, free: 5.047 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001279/1.205, allocations: 1.022 MB / 1.515 GB, free: 4.031 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.205, allocations: 0 / 1.515 GB, free: 4.031 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006048/1.206, allocations: 107.9 kB / 1.515 GB, free: 3.926 MB / 1.186 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 (31): * Single equations (assignments): 26 * 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.006282/1.212, allocations: 1.66 MB / 1.517 GB, free: 2.391 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.214, allocations: 0.5336 MB / 1.518 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.214, allocations: 4.062 kB / 1.518 GB, free: 1.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.215, allocations: 346.4 kB / 1.518 GB, free: 1.488 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/1.216, allocations: 119.7 kB / 1.518 GB, free: 1.375 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/1.232, allocations: 6.4 MB / 1.524 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/1.233, allocations: 0.9678 MB / 1.525 GB, free: 9.809 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004203/1.233, allocations: 94.91 kB / 1.525 GB, free: 9.715 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/1.234, allocations: 267.3 kB / 1.526 GB, free: 9.453 MB / 1.201 GB Notification: Performance of SimCode: time 9.12e-07/1.234, allocations: 0 / 1.526 GB, free: 9.453 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/1.28, allocations: 18.16 MB / 1.543 GB, free: 7.484 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.41, allocations: 11.88 kB / 1.543 GB, free: 7.477 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.16338081797585] Failed to read output from testmodel.py, exit status != 0: 15.623288614035118 15.637994261 14.494340628 Calling exit ...