Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001566/0.001567, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001562/0.001563, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.637/2.637, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.59 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002811/0.316, allocations: 1.57 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3174, allocations: 0.818 MB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.3175, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3175, allocations: 3.938 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.3176, allocations: 11.86 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3182, allocations: 131.7 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3183, allocations: 91.72 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.3184, allocations: 15.97 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.3185, allocations: 39.86 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.3186, allocations: 47.83 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3186, allocations: 8 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3188, allocations: 123.9 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.3189, allocations: 19.92 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.319, allocations: 47.73 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3192, allocations: 132 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3192, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 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.0007916/0.32, allocations: 490.4 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.32, allocations: 8.625 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.3201, allocations: 12.78 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3202, allocations: 180.2 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3203, allocations: 8.375 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3203, allocations: 4.375 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3205, allocations: 85.95 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3206, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3206, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3206, allocations: 7.938 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3208, allocations: 47.95 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3213, allocations: 324.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3216, allocations: 86.56 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3217, allocations: 40.84 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3218, allocations: 8.141 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.322, allocations: 91.36 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.322, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005414/0.3226, allocations: 181.5 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3226, allocations: 67.33 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3228, allocations: 130.1 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3228, allocations: 25.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.3229, allocations: 92.14 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3229, allocations: 27.72 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3229, allocations: 25.72 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3231, allocations: 322.8 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3232, allocations: 23.98 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3233, allocations: 77.98 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3235, allocations: 105.9 kB / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3235, allocations: 4 kB / 1.069 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002527/0.3238, allocations: 121.6 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3238, allocations: 8.031 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3238, allocations: 7.938 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3238, allocations: 4 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3239, allocations: 15.92 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3239, allocations: 4 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.324, allocations: 7.953 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.324, allocations: 11.98 kB / 1.07 GB, free: 9.16 MB / 0.8419 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.0001101/0.3242, allocations: 131 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.3242, allocations: 11.84 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3242, allocations: 8.719 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3242, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3242, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3242, allocations: 4 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.3249, allocations: 434.3 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3249, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.3249, allocations: 8 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.325, allocations: 4 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.325, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.325, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.325, allocations: 7.922 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.3254, allocations: 243.3 kB / 1.07 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3255, allocations: 89 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3255, allocations: 4 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3256, allocations: 4 kB / 1.071 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3257, allocations: 15.92 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3257, allocations: 0 / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.3257, allocations: 106.5 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3258, allocations: 0 / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003217/0.3261, allocations: 40 kB / 1.071 GB, free: 7.977 MB / 0.8419 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.0003904/0.3265, allocations: 181.7 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.3268, allocations: 95.81 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3268, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3269, allocations: 52.34 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3272, allocations: 8 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.3277, allocations: 253.8 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3281, allocations: 0.7 MB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.3281, allocations: 15.44 kB / 1.072 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3281, allocations: 0 / 1.072 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of Templates: time 0.00398/0.3321, allocations: 1.846 MB / 1.074 GB, free: 4.785 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches