Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 97.64 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.006038/0.006038, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 443.3 MB / 0.7175 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 6.469 kB / 0.8796 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 155.2 MB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001867/0.373, allocations: 1.222 MB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3746, allocations: 0.8261 MB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3747, allocations: 0 / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.3747, allocations: 7.938 kB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.3748, allocations: 11.86 kB / 1.033 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.3754, allocations: 123.8 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3755, allocations: 87.75 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.3756, allocations: 8 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.3757, allocations: 39.84 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.3758, allocations: 47.75 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3758, allocations: 4 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3761, allocations: 115.9 kB / 1.034 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.3761, allocations: 15.92 kB / 1.034 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.3762, allocations: 65.48 kB / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.3764, allocations: 175.8 kB / 1.034 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3764, allocations: 3.938 kB / 1.034 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3765, allocations: 0 / 1.034 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3765, allocations: 0 / 1.034 GB, free: 1.703 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.0007422/0.3772, allocations: 470.6 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3773, allocations: 8.031 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3773, allocations: 8.844 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3775, allocations: 182.5 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3775, allocations: 4.375 kB / 1.034 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3775, allocations: 12.36 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3778, allocations: 101.8 kB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3778, allocations: 3.938 kB / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3778, allocations: 0 / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3778, allocations: 0 / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.378, allocations: 59.97 kB / 1.035 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.3786, allocations: 324.7 kB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3789, allocations: 94.58 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.379, allocations: 44.83 kB / 1.035 GB, free: 260 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.379, allocations: 4 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3793, allocations: 99.36 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.3793, allocations: 0 / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.3799, allocations: 205.6 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3799, allocations: 51.41 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3801, allocations: 130.1 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.3801, allocations: 37.69 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.3802, allocations: 92.14 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3802, allocations: 11.75 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3802, allocations: 29.7 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3804, allocations: 326.8 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.3805, allocations: 23.98 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3806, allocations: 70 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3808, allocations: 117.9 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3808, allocations: 0 / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002602/0.3811, allocations: 133.3 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3811, allocations: 5.562 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3811, allocations: 8.172 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3811, allocations: 4 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.3812, allocations: 15.94 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3813, allocations: 4 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.3813, allocations: 15.98 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3813, allocations: 4 kB / 1.036 GB, free: 14.78 MB / 0.795 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.0001135/0.3815, allocations: 127.2 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3815, allocations: 15.91 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.3815, allocations: 8.703 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3815, allocations: 4 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3816, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3816, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.3822, allocations: 454.1 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3822, allocations: 0 / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.3822, allocations: 7.984 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3822, allocations: 4 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3823, allocations: 7.938 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3823, allocations: 0 / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3823, allocations: 3.938 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3827, allocations: 255.4 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3827, allocations: 85.02 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3828, allocations: 4 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3829, allocations: 11.98 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.383, allocations: 15.92 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.383, allocations: 0 / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.768e-05/0.3831, allocations: 105 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3831, allocations: 0 / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003441/0.3834, allocations: 51.89 kB / 1.037 GB, free: 13.54 MB / 0.795 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.0004075/0.3838, allocations: 162.5 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3841, allocations: 103.8 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3842, allocations: 0 / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3843, allocations: 48.36 kB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3846, allocations: 17.64 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.3851, allocations: 240.9 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3854, allocations: 0.6889 MB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.3854, allocations: 7.984 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3854, allocations: 11.44 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3855, allocations: 0 / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of Templates: time 0.005301/0.3908, allocations: 1.794 MB / 1.04 GB, free: 10.45 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches