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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_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.007949/0.007949, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001745/0.001745, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 57.75 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002701/0.2674, allocations: 1.49 MB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.269, allocations: 0.8309 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.2691, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.2692, allocations: 15.86 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.2693, allocations: 11.86 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.27, allocations: 155.5 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2701, allocations: 87.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.2702, allocations: 23.95 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2703, allocations: 35.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.2704, allocations: 47.81 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2704, allocations: 8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.2707, allocations: 131.8 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.2707, allocations: 23.92 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.2708, allocations: 35.8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2711, allocations: 179.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2712, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2712, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.86e-06/0.2712, allocations: 0 / 1.09 GB, free: 14.96 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.0006898/0.2719, allocations: 486.2 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2719, allocations: 12.03 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.272, allocations: 38.75 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.272, allocations: 12.88 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2721, allocations: 183.3 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2722, allocations: 4.375 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2722, allocations: 8.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2724, allocations: 89.69 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2724, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2725, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2726, allocations: 55.91 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.2732, allocations: 324.7 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2734, allocations: 74.55 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2736, allocations: 48.83 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2736, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.2738, allocations: 91.39 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2739, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000534/0.2744, allocations: 189.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2745, allocations: 55.41 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2746, allocations: 138 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2746, allocations: 25.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.2747, allocations: 96.12 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.2747, allocations: 15.91 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.2748, allocations: 29.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2749, allocations: 330.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.275, allocations: 23.92 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2751, allocations: 70 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2753, allocations: 109.9 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2753, allocations: 3.938 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.2756, allocations: 125.5 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2756, allocations: 8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2756, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2756, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.2757, allocations: 15.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2757, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.2758, allocations: 19.81 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2758, allocations: 4 kB / 1.093 GB, free: 12.02 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.0001027/0.2759, allocations: 133.9 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.276, allocations: 7.953 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.276, allocations: 8.719 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.276, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.276, allocations: 3.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.276, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.2766, allocations: 438.3 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2766, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.2766, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2767, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2767, allocations: 3.984 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2767, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2767, allocations: 7.938 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.2771, allocations: 255.7 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2771, allocations: 85.06 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2772, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2773, allocations: 7.984 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2773, allocations: 7.938 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2773, allocations: 7.984 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.2774, allocations: 105.5 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003302/0.2778, allocations: 51.86 kB / 1.094 GB, free: 10.81 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.0009044/0.2787, allocations: 0.8597 MB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2789, allocations: 91.8 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.279, allocations: 0 / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2791, allocations: 47.97 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2794, allocations: 11.92 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.2813, allocations: 1.574 MB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2816, allocations: 0.6976 MB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.2817, allocations: 8 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.2817, allocations: 19.42 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2817, allocations: 4 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.3023, allocations: 3.203 MB / 1.1 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.72, allocations: 5.375 kB / 1.1 GB, free: 4.293 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/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