Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.001013/0.001013, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 193 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 71.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7471, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002745/0.7499, allocations: 1.501 MB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.7511, allocations: 0.8268 MB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.7512, allocations: 1.25 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.7512, allocations: 7.875 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.7513, allocations: 9.094 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.7518, allocations: 155.2 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.752, allocations: 89.42 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7521, allocations: 21.88 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.7522, allocations: 40.53 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.7523, allocations: 44.64 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.7523, allocations: 8.438 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.7525, allocations: 129.7 kB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.7526, allocations: 27.84 kB / 0.9525 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.7526, allocations: 32.98 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.7529, allocations: 182.9 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7529, allocations: 3.938 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7529, allocations: 4 kB / 0.9527 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.7529, allocations: 0 / 0.9527 GB, free: 6.781 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.0006686/0.7536, allocations: 478.7 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7536, allocations: 9.594 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.7537, allocations: 40.02 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.7537, allocations: 9.906 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.7538, allocations: 183.4 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.7539, allocations: 6.844 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.7539, allocations: 4.781 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.7541, allocations: 92.31 kB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7541, allocations: 0 / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7541, allocations: 1.25 kB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7541, allocations: 4.938 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.7543, allocations: 46.44 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.7548, allocations: 326.6 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.755, allocations: 85.92 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.7551, allocations: 42.52 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.7551, allocations: 5.094 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.7553, allocations: 93.61 kB / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.7553, allocations: 0 / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004773/0.7558, allocations: 178.3 kB / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.7559, allocations: 58 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.7559, allocations: 141.2 kB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.756, allocations: 32.11 kB / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.756, allocations: 98.52 kB / 0.9546 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.756, allocations: 12.09 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.7561, allocations: 30.33 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.7561, allocations: 325.5 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.7562, allocations: 25.7 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.7563, allocations: 68.25 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.7565, allocations: 105.5 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7565, allocations: 0 / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002155/0.7567, allocations: 123.2 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7567, allocations: 6.125 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7567, allocations: 6.531 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7567, allocations: 10.27 kB / 0.9552 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.7568, allocations: 13.72 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7569, allocations: 2.188 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.7569, allocations: 20.23 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7569, allocations: 5.594 kB / 0.9553 GB, free: 4.379 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 7.162e-05/0.757, allocations: 121.4 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.757, allocations: 12.44 kB / 0.9554 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.7571, allocations: 17.8 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7571, allocations: 2.125 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7571, allocations: 0 / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7571, allocations: 0 / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.7576, allocations: 430 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7576, allocations: 1.219 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.7576, allocations: 6.484 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7577, allocations: 5.031 kB / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7577, allocations: 6.062 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7577, allocations: 3.938 kB / 0.9559 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7577, allocations: 5.125 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.758, allocations: 249.4 kB / 0.9561 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.758, allocations: 83.48 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.7581, allocations: 5.156 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.7582, allocations: 13.83 kB / 0.9562 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.7582, allocations: 10.27 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7582, allocations: 3.375 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.7583, allocations: 102.8 kB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7583, allocations: 1.031 kB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003253/0.7586, allocations: 50.58 kB / 0.9564 GB, free: 3.406 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.0007644/0.7594, allocations: 0.8499 MB / 0.9572 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.7597, allocations: 97.62 kB / 0.9573 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7597, allocations: 0 / 0.9573 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.7598, allocations: 44.86 kB / 0.9573 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.7601, allocations: 13.11 kB / 0.9573 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.7614, allocations: 1.595 MB / 0.9589 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.7615, allocations: 0.6949 MB / 0.9596 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.7615, allocations: 8.109 kB / 0.9596 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.7616, allocations: 22.19 kB / 0.9596 GB, free: 384 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7616, allocations: 0 / 0.9596 GB, free: 384 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.851/3.613, allocations: 3.172 MB / 0.9627 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/12.87, allocations: 11.33 kB / 0.9627 GB, free: 14.73 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches