Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [: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.321/1.321, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001136/0.001137, allocations: 193.2 kB / 316 MB, free: 3.477 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.465/1.465, allocations: 205.1 MB / 0.5667 GB, free: 15.57 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.001057/0.001057, allocations: 77.53 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.925e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5969/0.8213, allocations: 132.1 MB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.8215, allocations: 72.48 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002424/0.824, allocations: 0.659 MB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.824, allocations: 0 / 1.014 GB, free: 5.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004251/0.8244, allocations: 376.7 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.8245, allocations: 12.78 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.8245, allocations: 3.906 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.8246, allocations: 167 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8247, allocations: 4 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.8247, allocations: 7.938 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.708e-05/0.8248, allocations: 17.75 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.8249, allocations: 54.36 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.8249, allocations: 0 / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8249, allocations: 4 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.8249, allocations: 4 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.8253, allocations: 277.2 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.8255, allocations: 44.02 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.8255, allocations: 15.98 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.8255, allocations: 3.906 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.782e-05/0.8256, allocations: 66.02 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8256, allocations: 0 / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000156/0.8258, allocations: 63.97 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.8258, allocations: 62.14 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.8259, allocations: 103.2 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8259, allocations: 25.7 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.826, allocations: 87.25 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.826, allocations: 15.77 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.826, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8261, allocations: 322.5 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.8262, allocations: 11.81 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.8262, allocations: 46.06 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.8262, allocations: 23.05 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8262, allocations: 3.906 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001299/0.8264, allocations: 71.88 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.8264, allocations: 11.91 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.8264, allocations: 4.078 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.8264, allocations: 4.562 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.8265, allocations: 15.98 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8265, allocations: 7.938 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.8267, allocations: 19.98 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.8267, allocations: 4 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.57e-05/0.8267, allocations: 106.5 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.8268, allocations: 11.84 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.8268, allocations: 8.312 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8268, allocations: 4 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8268, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8268, allocations: 11.83 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.8271, allocations: 299.9 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8271, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.8272, allocations: 11.98 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8272, allocations: 3.906 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8272, allocations: 7.188 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8272, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8272, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001785/0.8274, allocations: 169 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.8274, allocations: 85 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.8275, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.8276, allocations: 19.98 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.8277, allocations: 10.8 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.8277, allocations: 3.938 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.536e-05/0.8277, allocations: 86.72 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002212/0.828, allocations: 11.94 kB / 1.017 GB, free: 2.98 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001296/0.8281, allocations: 107.1 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.8282, allocations: 42.19 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8282, allocations: 4.062 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.8283, allocations: 23.62 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.8285, allocations: 11.89 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.8287, allocations: 90.5 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.829, allocations: 0.7068 MB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/0.829, allocations: 3.938 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of Templates: time 0.002639/0.8317, allocations: 0.8347 MB / 1.019 GB, free: 1.148 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches