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.Sine.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.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") [: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.314/1.314, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001014/0.001014, allocations: 188.2 kB / 316 MB, free: 3.52 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.303/1.303, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001118/0.001117, allocations: 97.56 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.548e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7119/0.9513, allocations: 131.6 MB / 1.013 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.9517, allocations: 78.53 kB / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001755/0.9534, allocations: 367.5 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9535, allocations: 0 / 1.014 GB, free: 6.629 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.0003219/0.9538, allocations: 323.2 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9539, allocations: 8.781 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.9539, allocations: 4 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.9541, allocations: 178.8 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.9541, allocations: 3.984 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.9541, allocations: 3.938 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.524e-05/0.9542, allocations: 6.188 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.9543, allocations: 29.69 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9543, allocations: 0 / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.9543, allocations: 3.938 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9543, allocations: 4 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.9545, allocations: 133.8 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.9545, allocations: 21.3 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.9546, allocations: 8.766 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.9546, allocations: 4.062 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9546, allocations: 34.5 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.9546, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.9548, allocations: 37.62 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.9548, allocations: 55.44 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.9549, allocations: 99.67 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.9549, allocations: 25.7 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.955, allocations: 80.14 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.955, allocations: 3.906 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-06/0.955, allocations: 0 / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9551, allocations: 314.8 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.9551, allocations: 7.938 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.9552, allocations: 4 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.576e-05/0.9552, allocations: 4 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9552, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.958e-05/0.9553, allocations: 37.2 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.9553, allocations: 8 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9553, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9553, allocations: 3.984 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.9554, allocations: 4 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.9554, allocations: 8 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.9555, allocations: 4 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9555, allocations: 0 / 1.015 GB, free: 5.027 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 (1): * Single equations (assignments): 1 * 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 7.717e-05/0.9556, allocations: 104.1 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.9556, allocations: 4.25 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.9556, allocations: 15 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.9556, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9556, allocations: 4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9556, allocations: 4 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.9557, allocations: 137.9 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9558, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.9558, allocations: 4 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.9558, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.9558, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.9558, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.9558, allocations: 3.984 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.197e-05/0.9559, allocations: 72.28 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.956, allocations: 84.95 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.956, allocations: 4 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.9561, allocations: 3.984 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.9561, allocations: 4 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.9561, allocations: 0 / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.536e-05/0.9562, allocations: 82.28 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001748/0.9563, allocations: 0 / 1.015 GB, free: 4.445 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 (1): * Single equations (assignments): 1 * 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.0001605/0.9565, allocations: 103.3 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.9566, allocations: 11.86 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9566, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.9566, allocations: 4 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.9567, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.957, allocations: 59.67 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.9573, allocations: 0.6881 MB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.9573, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of Templates: time 0.001967/0.9593, allocations: 281.2 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches