Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") [: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.292/1.292, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.0009978/0.0009979, allocations: 189.2 kB / 316 MB, free: 3.516 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.551/1.551, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001191/0.001191, allocations: 85.59 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6703/0.8937, allocations: 131.8 MB / 1.013 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.894, allocations: 71.33 kB / 1.013 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002335/0.8963, allocations: 0.5287 MB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.8963, allocations: 0 / 1.014 GB, free: 6.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004133/0.8968, allocations: 357.1 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8968, allocations: 8.781 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.8969, allocations: 7.906 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.8971, allocations: 174.7 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.8971, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.8971, allocations: 4 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.405e-05/0.8972, allocations: 15.75 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8973, allocations: 49.38 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8974, allocations: 0 / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.8974, allocations: 7.844 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8974, allocations: 4 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.8978, allocations: 252.4 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.8979, allocations: 33.2 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.8979, allocations: 8.922 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.8979, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.898, allocations: 34.81 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.898, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.8982, allocations: 53.41 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.8982, allocations: 51.41 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.8983, allocations: 98.94 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8983, allocations: 29.73 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.8984, allocations: 91.97 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.8984, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.8984, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8985, allocations: 318.5 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.8986, allocations: 7.312 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.8986, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.8986, allocations: 7 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8986, allocations: 11.97 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.737e-05/0.8987, allocations: 45.44 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8987, allocations: 8 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.8987, allocations: 0 / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8987, allocations: 0 / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8989, allocations: 11.98 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8989, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.899, allocations: 16.02 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.899, allocations: 0 / 1.016 GB, free: 4.461 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: 1 (intRep.y[3]) * 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 8.21e-05/0.8991, allocations: 108.9 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.8991, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.8991, allocations: 10.45 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8991, allocations: 0 / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8991, allocations: 0 / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8992, allocations: 15.89 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.8993, allocations: 142.1 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8993, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.8994, allocations: 15.98 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8994, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8994, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8994, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8994, allocations: 256 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001297/0.8996, allocations: 150.2 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.8997, allocations: 84.98 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.8997, allocations: 11.91 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.8998, allocations: 7.984 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.8999, allocations: 11.08 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8999, allocations: 4 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.945e-05/0.8999, allocations: 79.28 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002277/0.9002, allocations: 11.94 kB / 1.016 GB, free: 3.762 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: 1 (intRep.y[3]) * 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 0.0001494/0.9003, allocations: 102.9 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.9004, allocations: 15.31 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.9004, allocations: 0 / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.9004, allocations: 15.44 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.9006, allocations: 4.125 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.9009, allocations: 67.66 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.9012, allocations: 0.6919 MB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9012, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.002513/0.9038, allocations: 0.5581 MB / 1.018 GB, free: 2.281 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches