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.004562/0.004562, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001281/0.001281, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.673/2.673, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002663/0.3191, allocations: 1.501 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3206, allocations: 0.8179 MB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3206, allocations: 3.938 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.3207, allocations: 7.938 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.3207, allocations: 19.84 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.3213, allocations: 147.5 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3215, allocations: 99.69 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.3216, allocations: 8 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3217, allocations: 43.84 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.3218, allocations: 51.81 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3218, allocations: 8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.3221, allocations: 119.8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.3221, allocations: 23.97 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.3222, allocations: 35.8 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3224, allocations: 183.7 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3225, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3225, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3225, allocations: 0 / 1.169 GB, free: 4.238 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.000763/0.3233, allocations: 494.2 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3233, allocations: 8.031 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.3233, allocations: 34.69 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3234, allocations: 8.891 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3235, allocations: 188.2 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3236, allocations: 4.375 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3236, allocations: 4.375 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3238, allocations: 89.77 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3238, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3239, allocations: 4 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3239, allocations: 3.938 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3241, allocations: 47.95 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.3246, allocations: 324.7 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3249, allocations: 86.56 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.325, allocations: 44.78 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.325, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.3253, allocations: 91.52 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3253, allocations: 4 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005435/0.3259, allocations: 193.5 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3259, allocations: 59.34 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3261, allocations: 131.9 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3261, allocations: 29.7 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.3262, allocations: 96.14 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3262, allocations: 19.84 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.3263, allocations: 29.72 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3264, allocations: 322.8 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3265, allocations: 31.98 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3266, allocations: 73.98 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3268, allocations: 101.9 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3268, allocations: 4 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000252/0.3271, allocations: 125.5 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3271, allocations: 4 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3271, allocations: 4 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3271, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.3272, allocations: 24.11 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3272, allocations: 4 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.3273, allocations: 11.89 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3273, allocations: 8 kB / 1.172 GB, free: 1.293 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.0001067/0.3275, allocations: 128.5 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3275, allocations: 11.94 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3275, allocations: 16.66 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3275, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3275, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3275, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.3282, allocations: 434.3 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3282, allocations: 0 / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3282, allocations: 4 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3282, allocations: 0 / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3282, allocations: 7.984 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3283, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3283, allocations: 11.88 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3287, allocations: 247.4 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3287, allocations: 85.05 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3288, allocations: 4 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3289, allocations: 7.984 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3289, allocations: 15.94 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3289, allocations: 3.984 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.329, allocations: 99.2 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.329, allocations: 0 / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000334/0.3294, allocations: 47.88 kB / 1.173 GB, free: 92 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.0009897/0.3304, allocations: 0.8576 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3306, allocations: 87.88 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3307, allocations: 384 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3308, allocations: 51.97 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3311, allocations: 20.02 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3329, allocations: 1.597 MB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3333, allocations: 0.6885 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.3333, allocations: 8.078 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3334, allocations: 31.3 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3334, allocations: 0 / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3579, allocations: 3.195 MB / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.475, allocations: 3.859 kB / 1.179 GB, free: 9.555 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