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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002694, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001774, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08872/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.448/2.448, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2694/2.717, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.71e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00263/0.002657, allocations: 0.6765 MB / 0.819 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.00425, allocations: 1.17 MB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.004302, allocations: 0 / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.705e-05/0.00438, allocations: 0 / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.004414, allocations: 11.92 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.004831, allocations: 107.7 kB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.00502, allocations: 95.83 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.005117, allocations: 4 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.005236, allocations: 59.83 kB / 0.8204 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.00536, allocations: 23.95 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.005389, allocations: 8 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.005489, allocations: 23.98 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.00555, allocations: 11.92 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.005605, allocations: 20 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.005784, allocations: 63.81 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.242e-05/0.005807, allocations: 0 / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005809, allocations: 0 / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.005833, allocations: 4 kB / 0.8205 GB, free: 0.625 MB / 0.7917 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.0005376/0.00637, allocations: 290.2 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.006414, allocations: 12.03 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.006463, allocations: 12.92 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.00663, allocations: 121.7 kB / 0.8209 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.006642, allocations: 4.375 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.006658, allocations: 4.375 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.006754, allocations: 38.25 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.006762, allocations: 192 / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.006769, allocations: 384 / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006776, allocations: 8.375 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.006792, allocations: 7.938 kB / 0.821 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.007066, allocations: 164.2 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.007116, allocations: 26.55 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.007128, allocations: 8.906 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-06/0.007131, allocations: 4 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.007254, allocations: 59.39 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.007256, allocations: 3.938 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.007413, allocations: 49.62 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.007463, allocations: 51.41 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.007555, allocations: 114.7 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.007582, allocations: 29.7 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.007638, allocations: 92.09 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.00765, allocations: 7.969 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.007713, allocations: 21.7 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.007824, allocations: 318.8 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.007901, allocations: 49.69 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.007981, allocations: 68.2 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.572e-05/0.008077, allocations: 76.23 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.00808, allocations: 8 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001971/0.008277, allocations: 145 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.008337, allocations: 37.64 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.008345, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.008359, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-05/0.008391, allocations: 11.94 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.008395, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.008568, allocations: 23.92 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.008586, allocations: 4 kB / 0.8223 GB, free: 14.57 MB / 0.8073 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.008686, allocations: 120.7 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.008704, allocations: 7.984 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.008737, allocations: 12.25 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.00874, allocations: 0 / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.008742, allocations: 0 / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.008749, allocations: 8 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.008856, allocations: 65.89 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.008857, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.008864, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.008873, allocations: 4 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008875, allocations: 4 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008882, allocations: 3.938 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008883, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008884, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.00898, allocations: 69.05 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.008993, allocations: 11.92 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.009009, allocations: 288 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.009033, allocations: 3.938 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.009039, allocations: 4 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.009059, allocations: 12.84 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009059, allocations: 4 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001986/0.009258, allocations: 16 kB / 0.8226 GB, free: 14.18 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.009439, allocations: 84.41 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.009657, allocations: 129.9 kB / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.009665, allocations: 4 kB / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.009707, allocations: 16.84 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.009922, allocations: 12 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.01063, allocations: 132.7 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.01069, allocations: 55.23 kB / 0.823 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.01073, allocations: 7.984 kB / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.01084, allocations: 67.36 kB / 0.8231 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of SimCode: time 2.525e-06/0.01084, allocations: 0 / 0.8231 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.00482/0.01566, allocations: 1.31 MB / 0.8244 GB, free: 12.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.230216377414763]