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.001339/0.001339, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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.001505/0.001505, allocations: 207.1 kB / 22.99 MB, free: 4.965 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.226/3.226, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003064/0.003064, allocations: 68.98 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3502, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001775/0.352, allocations: 0.6255 MB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3535, allocations: 1.132 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3535, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.292e-05/0.3536, allocations: 3.984 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.318e-05/0.3536, allocations: 3.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3541, allocations: 129.6 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3542, allocations: 87.88 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.3543, allocations: 8 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3544, allocations: 39.84 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.3545, allocations: 27.89 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3545, allocations: 8 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.3546, allocations: 23.98 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.3546, allocations: 8 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.3547, allocations: 27.91 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.3548, allocations: 87.78 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3548, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3548, allocations: 4 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3549, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.061 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.0004952/0.3553, allocations: 303.9 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3554, allocations: 12.03 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3554, allocations: 4.938 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.3556, allocations: 122.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3556, allocations: 8.375 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3557, allocations: 12.25 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3558, allocations: 46.25 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3558, allocations: 192 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3558, allocations: 3.938 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3558, allocations: 7.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.3558, allocations: 15.98 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3562, allocations: 232.5 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.3562, allocations: 26.5 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.3562, allocations: 5.922 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3562, allocations: 4.062 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.3564, allocations: 59.39 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3564, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001827/0.3565, allocations: 69.58 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3566, allocations: 55.41 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.3567, allocations: 109.8 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3567, allocations: 29.7 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3568, allocations: 88.09 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.3568, allocations: 4 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.3568, allocations: 29.7 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.357, allocations: 318.8 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.3571, allocations: 57.69 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3572, allocations: 76.25 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3573, allocations: 96.14 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3573, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002698/0.3576, allocations: 173.2 kB / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3576, allocations: 41.69 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3576, allocations: 0 / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3576, allocations: 3.984 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.3577, allocations: 4 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3577, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3579, allocations: 28 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3579, allocations: 8 kB / 1.369 GB, free: 9.148 MB / 1.061 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.0001105/0.358, allocations: 130.4 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.358, allocations: 0 / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.358, allocations: 4 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.358, allocations: 0 / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.358, allocations: 4 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.358, allocations: 0 / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3581, allocations: 117.2 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3581, allocations: 0 / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.3582, allocations: 7.938 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3582, allocations: 4 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3582, allocations: 3.938 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3582, allocations: 3.984 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3582, allocations: 0 / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.3583, allocations: 81.38 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.3583, allocations: 0 / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3583, allocations: 0 / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.3583, allocations: 12 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.3583, allocations: 7.922 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3584, allocations: 0 / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.3584, allocations: 83.28 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3584, allocations: 4 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002108/0.3586, allocations: 16 kB / 1.369 GB, free: 8.609 MB / 1.061 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.0001293/0.3588, allocations: 103.2 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.359, allocations: 129.1 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.359, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.359, allocations: 19.92 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.3592, allocations: 7.938 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3595, allocations: 168 kB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.3596, allocations: 67.3 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.3596, allocations: 11.44 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3596, allocations: 0 / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of Templates: time 0.002678/0.3623, allocations: 0.9188 MB / 1.371 GB, free: 7.129 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.345054083969444]