Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [: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 10.0.0-master/package.mo): time 1.7/1.7, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009197/0.0009197, allocations: 190.9 kB / 490.8 MB, free: 1.91 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.057/1.057, allocations: 221.4 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 81.83 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.643e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.6108, allocations: 149.6 MB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001612/0.611, allocations: 66.09 kB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009331/0.6203, allocations: 3.43 MB / 1.361 GB, free: 16.97 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6203, allocations: 7 kB / 1.361 GB, free: 16.97 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003614/0.6207, allocations: 449 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.6207, allocations: 9.312 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.6208, allocations: 21.78 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6211, allocations: 241.3 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.6211, allocations: 3.219 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.6212, allocations: 13.48 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.296e-05/0.6212, allocations: 39.27 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6214, allocations: 133.4 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6214, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6214, allocations: 2.781 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6214, allocations: 2.25 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.6219, allocations: 0.6667 MB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.622, allocations: 43.53 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.622, allocations: 17.84 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.622, allocations: 1.219 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.423e-05/0.6221, allocations: 83.42 kB / 1.363 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6221, allocations: 1.125 kB / 1.363 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001549/0.6222, allocations: 74.86 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.6223, allocations: 81.27 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6224, allocations: 147.2 kB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6224, allocations: 29.42 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.6225, allocations: 117 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.6225, allocations: 11.14 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.6225, allocations: 4.281 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.6226, allocations: 327.6 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.6227, allocations: 54.27 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.6228, allocations: 113.8 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.6231, allocations: 74.83 kB / 1.364 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6231, allocations: 2.375 kB / 1.364 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004584/0.6236, allocations: 204 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6236, allocations: 4.125 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.6236, allocations: 2.781 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6236, allocations: 6.609 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-05/0.6237, allocations: 3.062 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6237, allocations: 1.75 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.624, allocations: 86.86 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.6241, allocations: 10.94 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.918e-05/0.6241, allocations: 116.1 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.6242, allocations: 9.281 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.6242, allocations: 10.41 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6242, allocations: 1.062 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6242, allocations: 5.031 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6242, allocations: 1.25 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.6243, allocations: 178.4 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6243, allocations: 0 / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.6243, allocations: 1.438 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6243, allocations: 1.312 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6243, allocations: 2.891 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6243, allocations: 1.375 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6243, allocations: 0 / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.681e-05/0.6244, allocations: 122.5 kB / 1.365 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.6245, allocations: 84.11 kB / 1.365 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6245, allocations: 2.875 kB / 1.365 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.6245, allocations: 0 / 1.365 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.6245, allocations: 13.3 kB / 1.365 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.6246, allocations: 7.516 kB / 1.365 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.943e-05/0.6246, allocations: 112.3 kB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002276/0.6249, allocations: 49.06 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001142/0.625, allocations: 114.9 kB / 1.365 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6252, allocations: 150.7 kB / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.6252, allocations: 0 / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.6252, allocations: 26.11 kB / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.6254, allocations: 16.11 kB / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.6256, allocations: 145.4 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.6259, allocations: 0.7329 MB / 1.366 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6259, allocations: 0 / 1.366 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.003681/0.6296, allocations: 1.972 MB / 1.368 GB, free: 29.05 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches