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.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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.01006/0.01006, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00211/0.00211, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.203 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.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.84 kB / 0.9508 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3162, allocations: 140.4 MB / 1.088 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002675/0.3189, allocations: 1.495 MB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3206, allocations: 0.831 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.3206, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.3207, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.3208, allocations: 11.86 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.3215, allocations: 151.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3217, allocations: 95.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3219, allocations: 19.95 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.322, allocations: 39.86 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.3221, allocations: 43.83 kB / 1.091 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3221, allocations: 11.98 kB / 1.091 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.3224, allocations: 127.8 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.3224, allocations: 19.92 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.3225, allocations: 43.8 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3228, allocations: 183.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3228, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3228, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3229, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 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.0009072/0.3238, allocations: 478.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3238, allocations: 12.03 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.3239, allocations: 20.83 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3241, allocations: 172.2 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3241, allocations: 8.375 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3241, allocations: 4.375 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3244, allocations: 85.95 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3245, allocations: 3.984 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3245, allocations: 4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3245, allocations: 3.938 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.3247, allocations: 51.97 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.3254, allocations: 320.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3257, allocations: 86.56 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3258, allocations: 48.83 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3259, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3261, allocations: 87.36 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3261, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.3266, allocations: 181.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3267, allocations: 67.34 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3268, allocations: 128.4 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3268, allocations: 29.7 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3269, allocations: 96.12 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.327, allocations: 19.75 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.327, allocations: 29.7 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3272, allocations: 326.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.3272, allocations: 27.92 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.3273, allocations: 69 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3275, allocations: 109.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3275, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002313/0.3278, allocations: 121.6 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3278, allocations: 18 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3278, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3278, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3279, allocations: 15.92 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.328, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.328, allocations: 15.89 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.328, allocations: 4.312 kB / 1.093 GB, free: 11.7 MB / 0.8575 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.0001114/0.3282, allocations: 125.8 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.3282, allocations: 7.906 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.3282, allocations: 8.719 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3282, allocations: 4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3282, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3283, allocations: 3.984 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.3289, allocations: 438.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3289, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.3289, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3289, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3289, allocations: 7.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.329, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.329, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3294, allocations: 247.3 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3294, allocations: 89.02 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3295, allocations: 8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3296, allocations: 11.97 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.3296, allocations: 7.938 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3297, allocations: 7.984 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.3298, allocations: 99.27 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3298, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000342/0.3301, allocations: 51.98 kB / 1.095 GB, free: 10.5 MB / 0.8575 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.0004418/0.3306, allocations: 173.8 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.3309, allocations: 87.83 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3309, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.331, allocations: 52.34 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3313, allocations: 7.984 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.3318, allocations: 212.2 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3321, allocations: 0.6962 MB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.3322, allocations: 8 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.3322, allocations: 7.438 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3322, allocations: 4 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.005301/0.3375, allocations: 1.897 MB / 1.098 GB, free: 7.324 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (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 & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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