Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") [: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 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 249.4 MB / 256.7 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 192.4 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001034, allocations: 92.72 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.247e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.9384, allocations: 131.6 MB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.9387, allocations: 75.45 kB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001721/0.9404, allocations: 357.7 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9405, allocations: 0 / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003814/0.9409, allocations: 343 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.9409, allocations: 8.031 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.9409, allocations: 0 / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.9411, allocations: 171 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.9411, allocations: 0 / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.9411, allocations: 3.938 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.268e-05/0.9412, allocations: 7.188 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.608e-05/0.9413, allocations: 42.38 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.9413, allocations: 4 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.9413, allocations: 0 / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9413, allocations: 0 / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.9417, allocations: 251.9 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/0.9418, allocations: 33.55 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.9418, allocations: 8.109 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.9419, allocations: 4.062 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.9419, allocations: 35.38 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.9419, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001691/0.9421, allocations: 41.33 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.9421, allocations: 54.03 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.9422, allocations: 96.89 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.9423, allocations: 25.7 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.9423, allocations: 83.39 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.9423, allocations: 7.906 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.9423, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9424, allocations: 310.8 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.9425, allocations: 11.66 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.9425, allocations: 0 / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.9425, allocations: 11.62 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9425, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.563e-05/0.9426, allocations: 40.81 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9426, allocations: 8 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9426, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9426, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9428, allocations: 16.08 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.9428, allocations: 3.906 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.9429, allocations: 8 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.9429, allocations: 4 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.449e-05/0.9429, allocations: 101 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.943, allocations: 7.984 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.9431, allocations: 56.12 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9431, allocations: 3.984 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.9431, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9431, allocations: 3.938 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.9433, allocations: 134 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9433, allocations: 0 / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.9433, allocations: 15.98 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9433, allocations: 4.031 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.9434, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9434, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9434, allocations: 3.906 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.596e-05/0.9435, allocations: 138.5 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.9435, allocations: 81.02 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.9435, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.9436, allocations: 12.03 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.9437, allocations: 4.172 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.9437, allocations: 3.938 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.514e-05/0.9437, allocations: 86.89 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002061/0.944, allocations: 7.938 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001627/0.9441, allocations: 95.25 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.9442, allocations: 19.25 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9442, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.9442, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.9444, allocations: 7.922 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.9446, allocations: 59.72 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.9449, allocations: 0.688 MB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9449, allocations: 128 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of Templates: time 0.002158/0.9471, allocations: 404.1 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches