Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001238/0.001238, allocations: 198.5 kB / 0.4902 GB, free: 2.25 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 15.75 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.001062/0.001062, allocations: 96.2 kB / 0.9396 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8.938 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.6263, allocations: 150.2 MB / 1.376 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.6267, allocations: 67.97 kB / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.008094/0.6348, allocations: 1.837 MB / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6349, allocations: 0 / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.6349, allocations: 0 / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006199/0.6355, allocations: 373 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.6356, allocations: 12.56 kB / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.943e-05/0.6357, allocations: 8 kB / 1.378 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.636, allocations: 175 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.6361, allocations: 11.98 kB / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.6361, allocations: 8 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.6363, allocations: 49.62 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6363, allocations: 0 / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.6363, allocations: 3.984 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6364, allocations: 0 / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.6364, allocations: 12 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.637, allocations: 312.6 kB / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.637, allocations: 26.52 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.6371, allocations: 0 / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.6372, allocations: 59.45 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.6372, allocations: 3.938 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0002805/0.6375, allocations: 61.58 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.6376, allocations: 55.41 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6377, allocations: 112.9 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.6378, allocations: 25.7 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.6379, allocations: 84.14 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6379, allocations: 11.91 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.6379, allocations: 0 / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6381, allocations: 314.8 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.6382, allocations: 31.98 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.6384, allocations: 46.56 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.6385, allocations: 57.69 kB / 1.379 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6385, allocations: 0 / 1.379 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003862/0.6389, allocations: 143.3 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.639, allocations: 33.7 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.639, allocations: 0 / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.639, allocations: 0 / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.6391, allocations: 0 / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.6391, allocations: 19.97 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.6394, allocations: 31.97 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.6394, allocations: 4 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000137/0.6396, allocations: 117.8 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.6396, allocations: 7.906 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.6397, allocations: 11.89 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6397, allocations: 4 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6397, allocations: 0 / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6397, allocations: 3.953 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.6399, allocations: 158 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6399, allocations: 4 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.6399, allocations: 3.984 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.64, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.64, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.64, allocations: 7.938 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.64, allocations: 0 / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.6402, allocations: 85.25 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.6402, allocations: 77.11 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.6402, allocations: 48 / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.6403, allocations: 7.969 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.6403, allocations: 4 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.6403, allocations: 0 / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.6404, allocations: 87.28 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6404, allocations: 0 / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003903/0.6408, allocations: 31.92 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002309/0.6411, allocations: 104 kB / 1.38 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.6414, allocations: 119.3 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6414, allocations: 0 / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.6414, allocations: 15.98 kB / 1.381 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.6417, allocations: 13 kB / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.642, allocations: 142.5 kB / 1.381 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.6424, allocations: 0.6848 MB / 1.381 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.6424, allocations: 7.938 kB / 1.381 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.6424, allocations: 7.438 kB / 1.381 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.6425, allocations: 0 / 1.381 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of Templates: time 0.004304/0.6468, allocations: 0.9544 MB / 1.382 GB, free: 8.156 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches