Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.0008936/0.0008935, allocations: 98.11 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.00716/0.00716, allocations: 172.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003091, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5929, allocations: 142.4 MB / 0.9552 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001101/0.594, allocations: 1.22 MB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.595, allocations: 0.8072 MB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.595, allocations: 1.25 kB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.595, allocations: 11.92 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.5951, allocations: 5.031 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.5955, allocations: 128.7 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.5956, allocations: 88.48 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.5957, allocations: 13.89 kB / 0.9574 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.5957, allocations: 43.61 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.5958, allocations: 40.33 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5958, allocations: 4.25 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.596, allocations: 120.8 kB / 0.9576 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.596, allocations: 19.56 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.5961, allocations: 54.94 kB / 0.9577 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.5963, allocations: 181.2 kB / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5963, allocations: 1.125 kB / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5963, allocations: 0 / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5963, allocations: 0 / 0.9578 GB, free: 5.504 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004719/0.5968, allocations: 481.3 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.5968, allocations: 8.75 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.5968, allocations: 33.38 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.5969, allocations: 9.125 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.5969, allocations: 176.4 kB / 0.9585 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.597, allocations: 15.42 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.597, allocations: 4.812 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5972, allocations: 88.33 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.5972, allocations: 0 / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5972, allocations: 1.656 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.5972, allocations: 0 / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.5974, allocations: 67.73 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.5977, allocations: 328.4 kB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.5979, allocations: 89.03 kB / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5981, allocations: 46.88 kB / 0.9591 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5981, allocations: 1.312 kB / 0.9591 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.5983, allocations: 105 kB / 0.9592 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.5983, allocations: 0 / 0.9592 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004445/0.5987, allocations: 201.9 kB / 0.9594 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.5988, allocations: 56.77 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.5988, allocations: 137.1 kB / 0.9596 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.5988, allocations: 27.08 kB / 0.9596 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.5989, allocations: 95.03 kB / 0.9597 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.5989, allocations: 19.92 kB / 0.9597 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.5989, allocations: 21.84 kB / 0.9597 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.599, allocations: 325.5 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.599, allocations: 32.42 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.5991, allocations: 78.86 kB / 0.9602 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5993, allocations: 105.8 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5993, allocations: 1.375 kB / 0.9603 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000202/0.5995, allocations: 136.5 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5995, allocations: 5.688 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5995, allocations: 5.375 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5995, allocations: 2.75 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.5996, allocations: 11 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5996, allocations: 6.734 kB / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.5997, allocations: 25.22 kB / 0.9605 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5997, allocations: 5.5 kB / 0.9605 GB, free: 3.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.5998, allocations: 123.3 kB / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.5998, allocations: 8.031 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.5998, allocations: 14.08 kB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5998, allocations: 1.375 kB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5998, allocations: 1.375 kB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5998, allocations: 0 / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.6002, allocations: 443.9 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6003, allocations: 4 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.6003, allocations: 8.109 kB / 0.961 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6003, allocations: 1.375 kB / 0.961 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6003, allocations: 1.375 kB / 0.961 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6003, allocations: 0 / 0.961 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6003, allocations: 3.938 kB / 0.961 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.6006, allocations: 259.2 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.6006, allocations: 87.05 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.6007, allocations: 2.469 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.6008, allocations: 15.89 kB / 0.9614 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.6008, allocations: 14.27 kB / 0.9614 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.6008, allocations: 2.125 kB / 0.9614 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.6009, allocations: 101.8 kB / 0.9615 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6009, allocations: 0 / 0.9615 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002747/0.6011, allocations: 51.73 kB / 0.9615 GB, free: 2.133 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006238/0.6018, allocations: 0.8584 MB / 0.9624 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.602, allocations: 102.2 kB / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.602, allocations: 0 / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.6021, allocations: 52.36 kB / 0.9625 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.6024, allocations: 17.17 kB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6036, allocations: 1.637 MB / 0.9642 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.6038, allocations: 0.6947 MB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.6038, allocations: 3.25 kB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.6039, allocations: 22.8 kB / 0.9649 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6039, allocations: 1.062 kB / 0.9649 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5938/1.198, allocations: 2.873 MB / 0.9677 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/1.198, allocations: 271.3 kB / 0.9679 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.849, allocations: 3.75 kB / 0.9679 GB, free: 13.37 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches