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.001638/0.001638, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001807/0.001807, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|booRep.y.2.|booRep.y.3.",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.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_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.002055/0.002055, allocations: 67.23 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001886/0.3443, allocations: 0.6351 MB / 1.328 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3458, allocations: 1.163 MB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.3459, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.022e-05/0.346, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.346, allocations: 3.938 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.3465, allocations: 126 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3467, allocations: 87.72 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.3468, allocations: 11.97 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.3468, allocations: 35.92 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.347, allocations: 31.89 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.347, allocations: 12 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.3471, allocations: 27.97 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.3471, allocations: 7.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.3472, allocations: 27.92 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.3474, allocations: 87.78 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3474, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3474, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3474, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 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.0004928/0.3479, allocations: 307.9 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3479, allocations: 12.03 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.348, allocations: 12.89 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3481, allocations: 118.5 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3482, allocations: 4.375 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3482, allocations: 8.359 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3483, allocations: 50.19 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3483, allocations: 192 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3483, allocations: 7.938 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3483, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.3483, allocations: 8 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.3488, allocations: 275.9 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.3488, allocations: 22.52 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3488, allocations: 20.84 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-06/0.3488, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.349, allocations: 51.41 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.349, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002213/0.3492, allocations: 65.61 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.3493, allocations: 55.41 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3494, allocations: 105.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3494, allocations: 29.64 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3495, allocations: 96.08 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3495, allocations: 7.953 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.3496, allocations: 29.7 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3497, allocations: 322.8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.3498, allocations: 31.98 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.3499, allocations: 42.56 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.35, allocations: 84.52 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.35, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002651/0.3502, allocations: 151.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.3503, allocations: 39.25 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3503, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3503, allocations: 7.984 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-05/0.3503, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3503, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3505, allocations: 31.86 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3506, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 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.0001178/0.3507, allocations: 130.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.3507, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.3507, allocations: 8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3507, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3507, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3507, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3509, allocations: 136.7 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3509, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.3509, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3509, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3509, allocations: 4 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3509, allocations: 4 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3509, allocations: 3.938 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.351, allocations: 81.05 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-06/0.351, allocations: 3.953 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.351, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.351, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3511, allocations: 7.938 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3511, allocations: 8 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.3511, allocations: 83.27 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3511, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002171/0.3513, allocations: 16 kB / 1.332 GB, free: 12.43 MB / 1.029 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.0001489/0.3515, allocations: 103.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3517, allocations: 107.3 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3517, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.3518, allocations: 20.06 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.352, allocations: 8.188 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.3523, allocations: 159.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3526, allocations: 0.6807 MB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.3527, allocations: 7.438 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3527, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.00279/0.3555, allocations: 0.9281 MB / 1.334 GB, free: 10.35 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.236150420998456]