Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.005623/0.005623, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001314/0.001314, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 61.27 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2951, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003256/0.2984, allocations: 1.494 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3001, allocations: 0.827 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.3003, allocations: 8 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.3003, allocations: 7.875 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/0.3004, allocations: 15.8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3013, allocations: 151.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3015, allocations: 87.7 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3016, allocations: 19.97 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3018, allocations: 47.84 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.3019, allocations: 43.83 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.3019, allocations: 8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.3022, allocations: 123.9 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.3023, allocations: 23.91 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.3024, allocations: 35.8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.3028, allocations: 182.4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3029, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3029, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3029, allocations: 0 / 1.09 GB, free: 14.98 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.001109/0.304, allocations: 491.3 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.3041, allocations: 8.031 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.3041, allocations: 38.75 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.3042, allocations: 8.844 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3044, allocations: 176.2 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3045, allocations: 4.375 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3045, allocations: 12.31 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3048, allocations: 85.77 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3048, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3048, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3048, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.305, allocations: 51.95 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3057, allocations: 336.6 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3059, allocations: 78.53 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3061, allocations: 40.84 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3061, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.3064, allocations: 99.38 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.3064, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.307, allocations: 189.6 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3071, allocations: 55.41 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3072, allocations: 136.9 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3072, allocations: 25.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.3073, allocations: 96.14 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.3074, allocations: 23.73 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.3074, allocations: 25.72 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3076, allocations: 326.8 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.3077, allocations: 19.98 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3079, allocations: 80.67 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3081, allocations: 105.9 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3081, allocations: 3.938 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.3084, allocations: 121.4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3084, allocations: 7.938 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3084, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3084, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3085, allocations: 24.17 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3086, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.3086, allocations: 7.906 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3087, allocations: 4 kB / 1.093 GB, free: 12.05 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.000143/0.3088, allocations: 142.2 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3088, allocations: 7.906 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3089, allocations: 8.719 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3089, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3089, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3089, allocations: 4.031 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.3096, allocations: 434.3 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.3096, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.3096, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3096, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3097, allocations: 3.984 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3097, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3097, allocations: 7.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.3101, allocations: 235.4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3101, allocations: 89 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3102, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3103, allocations: 7.984 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3103, allocations: 11.94 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3104, allocations: 8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.3104, allocations: 109 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3105, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003828/0.3108, allocations: 48 kB / 1.094 GB, free: 10.84 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.001107/0.312, allocations: 0.851 MB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.3123, allocations: 87.83 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3123, allocations: 384 / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3124, allocations: 59.94 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3127, allocations: 10.12 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3146, allocations: 1.585 MB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3149, allocations: 0.6924 MB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.3149, allocations: 4 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.315, allocations: 23.42 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.315, allocations: 0 / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.3361, allocations: 3.202 MB / 1.1 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.768, allocations: 22.5 kB / 1.1 GB, free: 4.316 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_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_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches