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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.895/1.895, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 177.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 0.7819 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.000868, allocations: 94.88 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.162e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2287, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5669/0.7957, allocations: 150.5 MB / 1.352 GB, free: 16.26 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.796, allocations: 81.41 kB / 1.352 GB, free: 16.26 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.01011/0.8061, allocations: 3.16 MB / 1.355 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.8061, allocations: 5.75 kB / 1.355 GB, free: 16.09 MB / 0.8073 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.0005026/0.8066, allocations: 468.1 kB / 1.356 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8067, allocations: 8.875 kB / 1.356 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.8067, allocations: 9.531 kB / 1.356 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.8068, allocations: 182.5 kB / 1.356 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.8069, allocations: 2.094 kB / 1.356 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.8069, allocations: 4.906 kB / 1.356 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.807, allocations: 32.2 kB / 1.356 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.8071, allocations: 72.19 kB / 1.356 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8072, allocations: 0 / 1.356 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.8072, allocations: 1.406 kB / 1.356 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8072, allocations: 0.75 kB / 1.356 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.8076, allocations: 301.4 kB / 1.356 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.8078, allocations: 57.38 kB / 1.356 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.8078, allocations: 35.25 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.8079, allocations: 8.172 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.808, allocations: 77.69 kB / 1.357 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.808, allocations: 0 / 1.357 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0003899/0.8084, allocations: 115.6 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.8084, allocations: 53.73 kB / 1.357 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.8085, allocations: 124.1 kB / 1.357 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.8085, allocations: 30.55 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.8086, allocations: 88.53 kB / 1.357 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.8086, allocations: 16.12 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.8086, allocations: 0 / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.8086, allocations: 320.8 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.8087, allocations: 12.34 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.8087, allocations: 67.58 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.8088, allocations: 22.45 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8088, allocations: 0.6562 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.809, allocations: 101.3 kB / 1.357 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.809, allocations: 6.453 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.809, allocations: 1.344 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.809, allocations: 2.562 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.8091, allocations: 21.25 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8091, allocations: 2.141 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.8092, allocations: 7.594 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8092, allocations: 4.594 kB / 1.358 GB, free: 14.31 MB / 0.8073 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.8093, allocations: 121.2 kB / 1.358 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.8093, allocations: 8.359 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.8093, allocations: 11.83 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8094, allocations: 0.8438 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8094, allocations: 0.8906 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8094, allocations: 9.766 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.8098, allocations: 367.2 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8098, allocations: 4.703 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.8099, allocations: 10.05 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8099, allocations: 1 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.8099, allocations: 3.641 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8099, allocations: 0.75 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8099, allocations: 0 / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002944/0.8102, allocations: 209.1 kB / 1.358 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.8103, allocations: 87.91 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.8103, allocations: 3.281 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.8104, allocations: 8.578 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.8105, allocations: 5.062 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.8105, allocations: 5.641 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.405e-05/0.8105, allocations: 98.55 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003415/0.8109, allocations: 67.33 kB / 1.359 GB, free: 13.57 MB / 0.8073 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,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/0.8112, allocations: 190.6 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.8114, allocations: 63.64 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.8114, allocations: 0 / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.8115, allocations: 37.33 kB / 1.359 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.8117, allocations: 16.8 kB / 1.359 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.812, allocations: 115.1 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.8122, allocations: 0.7087 MB / 1.36 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of SimCode: time 2.01e-07/0.8122, allocations: 0.6562 kB / 1.36 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.005152/0.8173, allocations: 2.044 MB / 1.362 GB, free: 12.48 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (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 & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches