Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Ren2014ACBedroom,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.00628/0.00628, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001184/0.001184, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 55.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002731/0.2836, allocations: 1.5 MB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2851, allocations: 0.8257 MB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.2851, allocations: 4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.2852, allocations: 3.938 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.2853, allocations: 15.86 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.286, allocations: 155.5 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2861, allocations: 91.7 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.2862, allocations: 8 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2863, allocations: 43.84 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.2864, allocations: 51.81 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2865, allocations: 8 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.2867, allocations: 123.8 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.2868, allocations: 19.97 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.2868, allocations: 39.78 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.2872, allocations: 183.6 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2872, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2872, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2872, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 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.0007572/0.288, allocations: 498.1 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.288, allocations: 8.031 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.2881, allocations: 30.75 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.2881, allocations: 16.89 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2882, allocations: 180.3 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2883, allocations: 384 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2883, allocations: 12.31 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2885, allocations: 93.7 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2886, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2886, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2886, allocations: 4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.2888, allocations: 47.95 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.2893, allocations: 324.7 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.2895, allocations: 90.5 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2897, allocations: 36.84 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2897, allocations: 4.141 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.2899, allocations: 99.36 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.29, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005528/0.2905, allocations: 185.5 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2906, allocations: 55.41 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2907, allocations: 134 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2907, allocations: 29.7 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.2908, allocations: 96.14 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2908, allocations: 23.83 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.2909, allocations: 25.72 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.291, allocations: 326.8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.2911, allocations: 27.98 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2912, allocations: 73.98 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.2914, allocations: 101.9 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2914, allocations: 4 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000261/0.2916, allocations: 121.5 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2917, allocations: 8 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2917, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2917, allocations: 4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.2918, allocations: 20.11 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2918, allocations: 4 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.2919, allocations: 15.94 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2919, allocations: 7.984 kB / 1.172 GB, free: 1.332 MB / 0.92 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.0001094/0.292, allocations: 132.7 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2921, allocations: 11.89 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.2921, allocations: 8.719 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2921, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2921, allocations: 7.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2921, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.2927, allocations: 426.4 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2927, allocations: 4 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.2927, allocations: 0 / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2928, allocations: 4 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2928, allocations: 3.984 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2928, allocations: 7.875 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2928, allocations: 7.938 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.2932, allocations: 243.5 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.2932, allocations: 85.05 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.2933, allocations: 4 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2934, allocations: 11.98 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2934, allocations: 11.94 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2934, allocations: 4 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.2935, allocations: 107.2 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2935, allocations: 0 / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003382/0.2939, allocations: 47.88 kB / 1.173 GB, free: 128 kB / 0.92 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.0009659/0.2948, allocations: 0.8528 MB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.2951, allocations: 83.89 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2951, allocations: 4.375 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2953, allocations: 51.91 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2956, allocations: 11.94 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2974, allocations: 1.6 MB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2977, allocations: 0.6885 MB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.2978, allocations: 8.078 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.2979, allocations: 27.42 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.2979, allocations: 0 / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.3179, allocations: 3.201 MB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.674, allocations: 11.36 kB / 1.179 GB, free: 9.594 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches