Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007997/0.0007997, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001917, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006868/0.0006868, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008972/0.001584, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9868/0.9868, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5027/2.402, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.774e-05, allocations: 2.906 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001903/0.001931, allocations: 0.6806 MB / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003324, allocations: 1.173 MB / 0.7314 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.003366, allocations: 4.625 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.003434, allocations: 2.219 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.009e-05/0.003464, allocations: 6.234 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.003822, allocations: 112.4 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.004006, allocations: 95.5 kB / 0.7317 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.004085, allocations: 10.02 kB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004194, allocations: 53.33 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.004314, allocations: 29.47 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.00434, allocations: 8 kB / 0.7318 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.004435, allocations: 20.66 kB / 0.7318 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.004499, allocations: 9.625 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.00455, allocations: 18.03 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004708, allocations: 63.81 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.004724, allocations: 0 / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004725, allocations: 0 / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.004741, allocations: 0 / 0.7319 GB, free: 2.195 MB / 0.698 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.0004969/0.005238, allocations: 287.9 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.005281, allocations: 8.031 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.00534, allocations: 14.64 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.005506, allocations: 121.7 kB / 0.7323 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.00552, allocations: 0.9219 kB / 0.7323 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.005546, allocations: 12.36 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.005627, allocations: 39.06 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.005634, allocations: 192 / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.005642, allocations: 384 / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005648, allocations: 1.641 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.005664, allocations: 8.469 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.005908, allocations: 173.3 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.005952, allocations: 18.58 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-06/0.005962, allocations: 4.859 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.005965, allocations: 0.7188 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.006076, allocations: 60.05 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.006078, allocations: 4.922 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.006216, allocations: 54.55 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.006257, allocations: 51.41 kB / 0.7327 GB, free: 1.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.006327, allocations: 111.6 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.006349, allocations: 25.7 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.006396, allocations: 97.52 kB / 0.7329 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.006409, allocations: 7.953 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.006463, allocations: 25.69 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.006549, allocations: 318.8 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.006608, allocations: 51.33 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.006669, allocations: 72.19 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.00675, allocations: 78.41 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006753, allocations: 0 / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001537/0.006907, allocations: 145.6 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.006952, allocations: 42.78 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.006958, allocations: 4 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.006973, allocations: 0 / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.006995, allocations: 8.812 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006998, allocations: 0.6562 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.007144, allocations: 20.61 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.007167, allocations: 8.672 kB / 0.7337 GB, free: 160 kB / 0.698 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 7.544e-05/0.007242, allocations: 122.3 kB / 0.7338 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.007252, allocations: 4 kB / 0.7338 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.007281, allocations: 11.94 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007284, allocations: 1.094 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.007286, allocations: 3.984 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.00729, allocations: 0.5938 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.007393, allocations: 69.89 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.007394, allocations: 1 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.007404, allocations: 0 / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.007414, allocations: 8.609 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007416, allocations: 0 / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.007423, allocations: 5.031 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007425, allocations: 0 / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.007427, allocations: 0.6562 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.213e-05/0.007509, allocations: 65.94 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.007519, allocations: 0 / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.007536, allocations: 4 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.007561, allocations: 9.172 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007565, allocations: 0 / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.743e-05/0.007582, allocations: 13.08 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007582, allocations: 1.031 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001677/0.00775, allocations: 19.94 kB / 0.734 GB, free: 15.77 MB / 0.7136 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.0001405/0.007891, allocations: 84.97 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.008055, allocations: 131.7 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.00806, allocations: 7.938 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.008081, allocations: 8.859 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008247, allocations: 72.73 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.00877, allocations: 133.3 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.008802, allocations: 55.36 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.008828, allocations: 4.547 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.00891, allocations: 64.11 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.008911, allocations: 0 / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.003749/0.01266, allocations: 1.291 MB / 0.7358 GB, free: 13.92 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.788508635014296]