Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.771/1.771, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009619/0.0009621, allocations: 185.2 kB / 487 MB, free: 5.371 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.116/1.116, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.000858/0.0008581, allocations: 98.98 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.955e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.7197, allocations: 148 MB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.7199, allocations: 63.73 kB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001383/0.7213, allocations: 382.8 kB / 1.35 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7213, allocations: 1.125 kB / 1.35 GB, free: 15.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002316/0.7215, allocations: 333.8 kB / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.7216, allocations: 10.58 kB / 1.351 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.7216, allocations: 5 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.7217, allocations: 166.7 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.7217, allocations: 0 / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.7217, allocations: 0.8125 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.525e-05/0.7218, allocations: 5.844 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.176e-05/0.7218, allocations: 37.03 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.7218, allocations: 0 / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7219, allocations: 4.969 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.7219, allocations: 4 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.7221, allocations: 226.4 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.7221, allocations: 31.83 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.7221, allocations: 8.047 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.7222, allocations: 1.453 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.7222, allocations: 43.62 kB / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7222, allocations: 0 / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001146/0.7223, allocations: 35.64 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.276e-05/0.7223, allocations: 51.41 kB / 1.351 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.49e-05/0.7224, allocations: 94.3 kB / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.7224, allocations: 25.7 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.459e-05/0.7224, allocations: 82.42 kB / 1.351 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.7224, allocations: 8.562 kB / 1.351 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7224, allocations: 0 / 1.351 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.7225, allocations: 317.7 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.7225, allocations: 2.594 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.7225, allocations: 10.31 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.506e-05/0.7225, allocations: 4.281 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.7225, allocations: 6.578 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.536e-05/0.7226, allocations: 41.98 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.7226, allocations: 5.844 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.7226, allocations: 0 / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.7226, allocations: 4.094 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.7227, allocations: 13.56 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.7227, allocations: 0 / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.7228, allocations: 13.08 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.7228, allocations: 1.281 kB / 1.352 GB, free: 14.25 MB / 0.8073 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 3.33e-05/0.7228, allocations: 106.4 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.7229, allocations: 8.125 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.7229, allocations: 48.81 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.723, allocations: 1.156 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.723, allocations: 0 / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.723, allocations: 1.188 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.7231, allocations: 139.5 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.7231, allocations: 1.406 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.7231, allocations: 16.19 kB / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7231, allocations: 1.344 kB / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.7232, allocations: 0 / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7232, allocations: 0 / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7232, allocations: 1.406 kB / 1.352 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.595e-05/0.7232, allocations: 135.5 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.7233, allocations: 84.06 kB / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.7233, allocations: 0 / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.7234, allocations: 12.28 kB / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.7234, allocations: 10.67 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.7234, allocations: 1.406 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.633e-05/0.7234, allocations: 83.23 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000189/0.7236, allocations: 7.25 kB / 1.352 GB, free: 13.61 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: 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 9.071e-05/0.7237, allocations: 103.5 kB / 1.352 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.7238, allocations: 12.44 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.7238, allocations: 0 / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.7238, allocations: 5.312 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.724, allocations: 7.688 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.7241, allocations: 59.61 kB / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.7244, allocations: 0.6912 MB / 1.353 GB, free: 28.75 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.7244, allocations: 0 / 1.353 GB, free: 28.75 MB / 0.823 GB Notification: Performance of Templates: time 0.001676/0.7261, allocations: 391.7 kB / 1.354 GB, free: 28.71 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches