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.001614/0.001614, 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.00206/0.00206, allocations: 194 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.325/2.325, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.83 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5968, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003027/0.5999, allocations: 1.492 MB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.6014, allocations: 0.8279 MB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.6014, allocations: 1.031 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.6015, allocations: 3.938 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.6015, allocations: 17.36 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.6021, allocations: 151.5 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.6022, allocations: 89.61 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.6023, allocations: 22.41 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.6024, allocations: 43.27 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.6025, allocations: 45.06 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.6025, allocations: 8.625 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.6027, allocations: 129.5 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.6028, allocations: 19.39 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.6028, allocations: 37.72 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.6031, allocations: 185.9 kB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6031, allocations: 0 / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6031, allocations: 3.938 kB / 0.9527 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6031, allocations: 1.5 kB / 0.9527 GB, free: 6.863 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.0006096/0.6037, allocations: 477 kB / 0.9532 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6038, allocations: 9.344 kB / 0.9532 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.6038, allocations: 39.61 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.6038, allocations: 9.281 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.6039, allocations: 185.5 kB / 0.9534 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.6039, allocations: 3.281 kB / 0.9534 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.604, allocations: 4.062 kB / 0.9534 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6042, allocations: 95.81 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6042, allocations: 1.281 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6042, allocations: 0 / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6042, allocations: 1.469 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.6044, allocations: 50.34 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.6048, allocations: 322.6 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.6051, allocations: 82.11 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.6052, allocations: 50.23 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.6052, allocations: 2 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.6054, allocations: 92.84 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.6054, allocations: 0 / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004786/0.6059, allocations: 183.1 kB / 0.9542 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.6059, allocations: 62.28 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.606, allocations: 134.7 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.606, allocations: 30.89 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.6061, allocations: 95.75 kB / 0.9546 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.6061, allocations: 14.19 kB / 0.9546 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.6061, allocations: 31.98 kB / 0.9546 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.6062, allocations: 325.1 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.6063, allocations: 29.98 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.6064, allocations: 69.11 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.6065, allocations: 108 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6065, allocations: 1.125 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.6067, allocations: 127.2 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6068, allocations: 5.312 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6068, allocations: 1.562 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6068, allocations: 2.594 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.6069, allocations: 21.8 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6069, allocations: 2.844 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.607, allocations: 21.36 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.607, allocations: 3.531 kB / 0.9553 GB, free: 4.453 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 6.34e-05/0.6071, allocations: 129 kB / 0.9554 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.6071, allocations: 10.66 kB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.6071, allocations: 7.594 kB / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6071, allocations: 5.328 kB / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6071, allocations: 0 / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.6071, allocations: 0 / 0.9554 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.6076, allocations: 422.7 kB / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6076, allocations: 4 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.6076, allocations: 4.188 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6077, allocations: 7.922 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.6077, allocations: 5.5 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6077, allocations: 3.938 kB / 0.9559 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6077, allocations: 5.312 kB / 0.9559 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.608, allocations: 246.5 kB / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.608, allocations: 84.55 kB / 0.9562 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.608, allocations: 4 kB / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.6082, allocations: 7.891 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.6082, allocations: 10.98 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.6082, allocations: 3.219 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.6083, allocations: 106.5 kB / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6083, allocations: 0 / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003409/0.6086, allocations: 51.45 kB / 0.9564 GB, free: 3.492 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.0007173/0.6093, allocations: 0.8571 MB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6096, allocations: 87.23 kB / 0.9573 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6096, allocations: 0 / 0.9573 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6098, allocations: 52.66 kB / 0.9573 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.61, allocations: 11.86 kB / 0.9573 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.6114, allocations: 1.6 MB / 0.9589 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.754e-05/0.6115, allocations: 0.6988 MB / 0.9596 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.6115, allocations: 7.609 kB / 0.9596 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.6116, allocations: 19.03 kB / 0.9596 GB, free: 464 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6116, allocations: 0 / 0.9596 GB, free: 464 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.6315, allocations: 3.167 MB / 0.9627 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/7.87, allocations: 9.547 kB / 0.9627 GB, free: 14.82 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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