Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [: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.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009911/0.0009911, allocations: 192.6 kB / 487 MB, free: 5.363 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.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008056/0.0008056, allocations: 97.36 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.515/0.6947, allocations: 148.7 MB / 1.35 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.6949, allocations: 69.39 kB / 1.351 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01643/0.7113, allocations: 5.887 MB / 1.356 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7114, allocations: 3 kB / 1.356 GB, free: 15.86 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004091/0.7118, allocations: 0.5416 MB / 1.357 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.7118, allocations: 14.34 kB / 1.357 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.7119, allocations: 35.81 kB / 1.357 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.7121, allocations: 207.9 kB / 1.357 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.7121, allocations: 6.781 kB / 1.357 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.7121, allocations: 22.78 kB / 1.357 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.7123, allocations: 42.58 kB / 1.357 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.7124, allocations: 112.2 kB / 1.357 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.7124, allocations: 4 kB / 1.357 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7124, allocations: 2.344 kB / 1.357 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7124, allocations: 6.812 kB / 1.357 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.7132, allocations: 0.8519 MB / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7134, allocations: 112.9 kB / 1.358 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.7134, allocations: 52.62 kB / 1.358 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.7134, allocations: 1.953 kB / 1.358 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.7136, allocations: 139.4 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.7136, allocations: 0 / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002799/0.7139, allocations: 153.7 kB / 1.359 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.7139, allocations: 137 kB / 1.359 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.7141, allocations: 201 kB / 1.359 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.7142, allocations: 37.09 kB / 1.359 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.7142, allocations: 109.4 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.7143, allocations: 33.3 kB / 1.359 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.7143, allocations: 10.56 kB / 1.359 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.7144, allocations: 336.2 kB / 1.359 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.7146, allocations: 128.9 kB / 1.359 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.7149, allocations: 200.4 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.7155, allocations: 175.5 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7155, allocations: 1 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001042/0.7166, allocations: 432.7 kB / 1.36 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7166, allocations: 4.406 kB / 1.36 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7166, allocations: 6.75 kB / 1.36 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7166, allocations: 4.625 kB / 1.36 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.7167, allocations: 14.95 kB / 1.36 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.7167, allocations: 9.016 kB / 1.36 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.7174, allocations: 163.4 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.7175, allocations: 27.27 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 9.22e-05/0.7175, allocations: 124.8 kB / 1.361 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.7176, allocations: 22.84 kB / 1.361 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.7176, allocations: 17.83 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7177, allocations: 2.781 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7177, allocations: 1.922 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.7177, allocations: 6.141 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.7179, allocations: 227.9 kB / 1.361 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7179, allocations: 0.8438 kB / 1.361 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.7179, allocations: 17.34 kB / 1.361 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7179, allocations: 0.9375 kB / 1.361 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7179, allocations: 8.797 kB / 1.361 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7179, allocations: 5.703 kB / 1.361 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7179, allocations: 1.875 kB / 1.361 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002128/0.7182, allocations: 230.8 kB / 1.361 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.7182, allocations: 97.36 kB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.7182, allocations: 2.703 kB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.7183, allocations: 2.781 kB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.7184, allocations: 15 kB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.7184, allocations: 11.45 kB / 1.361 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001074/0.7185, allocations: 157.6 kB / 1.361 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003108/0.7188, allocations: 57.69 kB / 1.361 GB, free: 12.69 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.7189, allocations: 130.4 kB / 1.362 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.7194, allocations: 348.2 kB / 1.362 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7194, allocations: 0.5 kB / 1.362 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.7195, allocations: 63.59 kB / 1.362 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.7199, allocations: 55.33 kB / 1.362 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.7204, allocations: 233.6 kB / 1.362 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.7206, allocations: 0.7583 MB / 1.363 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.7206, allocations: 0 / 1.363 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.005954/0.7266, allocations: 3.757 MB / 1.367 GB, free: 8.895 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches