Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") [: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.309/1.309, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001069/0.001069, allocations: 184.9 kB / 316 MB, free: 3.555 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.525/1.525, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0009525/0.0009528, allocations: 75.36 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.926e-06/9.337e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.82, allocations: 131.1 MB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.8203, allocations: 73.06 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0004338/0.8207, allocations: 54.66 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8208, allocations: 0 / 1.013 GB, free: 7.426 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002978/0.8211, allocations: 309.3 kB / 1.013 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8211, allocations: 8.031 kB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.8212, allocations: 3.906 kB / 1.013 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.8213, allocations: 159.1 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.8213, allocations: 0 / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.8214, allocations: 4 kB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.121e-05/0.8214, allocations: 0 / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.8215, allocations: 37.62 kB / 1.013 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8215, allocations: 0 / 1.013 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8215, allocations: 3.906 kB / 1.013 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.8215, allocations: 4.938 kB / 1.013 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.8219, allocations: 353.6 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.822, allocations: 169.1 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.822, allocations: 88.17 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.8221, allocations: 75.28 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.8221, allocations: 109.8 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.8221, allocations: 0 / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.364e-05/0.8222, allocations: 32.61 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.8223, allocations: 51.41 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.8223, allocations: 95.73 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.8224, allocations: 29.64 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.8224, allocations: 80.14 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.8224, allocations: 0 / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.8224, allocations: 0 / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8225, allocations: 310.8 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/0.8226, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-06/0.8226, allocations: 2.438 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.8226, allocations: 87.08 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.597e-05/0.8226, allocations: 79.28 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.089e-05/0.8227, allocations: 29.64 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8227, allocations: 4 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.091e-05/0.8228, allocations: 79.28 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.96e-05/0.8229, allocations: 154.5 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.8229, allocations: 79.22 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.101e-05/0.823, allocations: 154.6 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.823, allocations: 75.28 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.8231, allocations: 87.2 kB / 1.015 GB, free: 4.543 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 (0): * Single equations (assignments): 0 * 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 0.0001112/0.8232, allocations: 251.5 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.8233, allocations: 101 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.8233, allocations: 107.5 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-05/0.8234, allocations: 188.2 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.576e-05/0.8235, allocations: 180.2 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.966e-05/0.8235, allocations: 181.5 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.8237, allocations: 381.7 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.8238, allocations: 110.2 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.8238, allocations: 112.4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.965e-05/0.8239, allocations: 180.2 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.824, allocations: 176.3 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.698e-05/0.8241, allocations: 182 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-05/0.8241, allocations: 180.2 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001384/0.8243, allocations: 311.3 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.8244, allocations: 182.4 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.8244, allocations: 176.3 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.8245, allocations: 101 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.8246, allocations: 192.2 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.8247, allocations: 105 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.763e-05/0.8247, allocations: 79.03 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002592/0.825, allocations: 0 / 1.019 GB, free: 0.9492 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 (0): * Single equations (assignments): 0 * 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.0001625/0.8251, allocations: 178.5 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.494e-05/0.8252, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8252, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.8252, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8255, allocations: 0.5302 MB / 1.019 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.8257, allocations: 122.7 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.826, allocations: 0.6802 MB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/0.826, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of Templates: time 0.001478/0.8274, allocations: 161.2 kB / 1.02 GB, free: 15.23 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches