Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_10_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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001557/0.001557, allocations: 195 kB / 16.14 MB, free: 6.648 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6776, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002867/0.6805, allocations: 1.573 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.6818, allocations: 0.8336 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.6819, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.6819, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.682, allocations: 15.86 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.6825, allocations: 127.7 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.6826, allocations: 83.72 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.6827, allocations: 7.984 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.6828, allocations: 47.83 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.6829, allocations: 43.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.6829, allocations: 4 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.6831, allocations: 115.9 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.6832, allocations: 23.91 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.6832, allocations: 31.88 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.6835, allocations: 173.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6835, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6835, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6835, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 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.0007037/0.6842, allocations: 486.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6843, allocations: 8.031 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.6843, allocations: 42.73 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.6844, allocations: 8.844 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.6845, allocations: 174.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6845, allocations: 8.312 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.6846, allocations: 8.375 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.6848, allocations: 97.69 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6848, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6848, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.6848, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.685, allocations: 47.97 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.6855, allocations: 324.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.6858, allocations: 82.47 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.6859, allocations: 48.83 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.6859, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.6861, allocations: 91.36 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.6862, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000517/0.6867, allocations: 189.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.6867, allocations: 51.41 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6868, allocations: 138 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.6869, allocations: 29.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.6869, allocations: 96.12 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.6869, allocations: 19.95 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.687, allocations: 29.7 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6871, allocations: 326.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.6872, allocations: 23.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.6873, allocations: 69.98 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.6875, allocations: 105.9 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6875, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002316/0.6877, allocations: 125.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6878, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6878, allocations: 48 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6878, allocations: 7.984 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.6879, allocations: 20.12 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6879, allocations: 11.92 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.688, allocations: 15.84 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.688, allocations: 8 kB / 1.022 GB, free: 12.89 MB / 0.7794 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 0.0001117/0.6881, allocations: 126.5 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.6881, allocations: 7.906 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.6882, allocations: 16.7 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6882, allocations: 3.938 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6882, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.6882, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.6888, allocations: 426.4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6888, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.6888, allocations: 7.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.6888, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6889, allocations: 3.938 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6889, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6889, allocations: 7.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.6892, allocations: 239.4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.6893, allocations: 85.02 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.6893, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.6894, allocations: 11.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.6895, allocations: 11.92 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6895, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.6896, allocations: 105.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6896, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000318/0.6899, allocations: 51.98 kB / 1.023 GB, free: 11.69 MB / 0.7794 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.0009157/0.6908, allocations: 0.8498 MB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.6911, allocations: 87.88 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6911, allocations: 4.375 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6912, allocations: 47.92 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.6915, allocations: 19.86 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.6932, allocations: 1.593 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.6935, allocations: 0.6927 MB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.6935, allocations: 11.97 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.6936, allocations: 27.44 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6936, allocations: 0 / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6009/1.294, allocations: 2.977 MB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003797/1.295, allocations: 277.4 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/3.179, allocations: 2.672 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches