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.001318/0.001318, allocations: 102.3 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.001473/0.001473, allocations: 217.4 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.288/3.288, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002059/0.002059, allocations: 72.39 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.418, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002227/0.4202, allocations: 0.6217 MB / 1.355 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.4218, allocations: 1.144 MB / 1.356 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.4219, allocations: 3.938 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.4219, allocations: 4 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.561e-05/0.4219, allocations: 7.922 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.4224, allocations: 123 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.4225, allocations: 91.83 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.4225, allocations: 7.922 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.4226, allocations: 43.97 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.4227, allocations: 35.83 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4227, allocations: 8 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.15e-05/0.4228, allocations: 19.98 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.4228, allocations: 8 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.4229, allocations: 39.84 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.423, allocations: 79.78 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.423, allocations: 4 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.423, allocations: 0 / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.423, allocations: 4 kB / 1.356 GB, free: 5.703 MB / 1.045 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.0003942/0.4234, allocations: 311.9 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.4234, allocations: 8.031 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.4235, allocations: 12.88 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4236, allocations: 118.5 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4237, allocations: 4.375 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4237, allocations: 8.359 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.4238, allocations: 50.19 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.4238, allocations: 192 / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.4238, allocations: 3.938 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4238, allocations: 4 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.4238, allocations: 12 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.4241, allocations: 271.9 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.4242, allocations: 26.52 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.4242, allocations: 8.844 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.4242, allocations: 0 / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4244, allocations: 63.47 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4244, allocations: 0 / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001889/0.4246, allocations: 65.61 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4246, allocations: 51.41 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.4247, allocations: 109.8 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4247, allocations: 29.7 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.4248, allocations: 92.08 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.4248, allocations: 7.938 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4249, allocations: 33.7 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.425, allocations: 326.8 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.4251, allocations: 23.98 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.4252, allocations: 50.56 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4253, allocations: 80.2 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4253, allocations: 4 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002584/0.4255, allocations: 147.2 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.4256, allocations: 41.62 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4256, allocations: 0 / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.4256, allocations: 0 / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.827e-05/0.4256, allocations: 4 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4256, allocations: 4 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.4258, allocations: 27.91 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4258, allocations: 8.094 kB / 1.358 GB, free: 3.504 MB / 1.045 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.0001019/0.4259, allocations: 122.4 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.4259, allocations: 7.938 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.426, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.426, allocations: 240 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.426, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.426, allocations: 3.984 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4261, allocations: 136.7 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4261, allocations: 0 / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-06/0.4261, allocations: 8 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4261, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4261, allocations: 4 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4261, allocations: 0 / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4261, allocations: 320 / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.4263, allocations: 89 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.4263, allocations: 0 / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4263, allocations: 4 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.4263, allocations: 4 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.4263, allocations: 4 kB / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.4263, allocations: 0 / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.4264, allocations: 91.2 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4264, allocations: 3.938 kB / 1.359 GB, free: 2.957 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000213/0.4266, allocations: 16 kB / 1.359 GB, free: 2.941 MB / 1.045 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.0001471/0.4267, allocations: 95.25 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.427, allocations: 115.4 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.427, allocations: 4.062 kB / 1.359 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.427, allocations: 11.94 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4272, allocations: 4 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.4275, allocations: 163.8 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.4278, allocations: 0.6807 MB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.4279, allocations: 7.438 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4279, allocations: 8 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of Templates: time 0.002859/0.4307, allocations: 0.9175 MB / 1.361 GB, free: 0.8789 MB / 1.045 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.453511783009162]