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.001845/0.001845, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002159/0.002159, allocations: 209.7 kB / 23 MB, free: 4.934 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.37/3.37, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002041/0.002041, allocations: 80.03 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3704, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00225/0.3727, allocations: 0.6235 MB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3745, allocations: 1.14 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.167e-05/0.3746, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.3747, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.3748, allocations: 7.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.3753, allocations: 121.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3755, allocations: 87.88 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3756, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.3757, allocations: 39.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3758, allocations: 35.89 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3759, allocations: 8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.3759, allocations: 27.98 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.376, allocations: 7.984 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.3761, allocations: 27.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3763, allocations: 87.78 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3763, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3763, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3763, allocations: 0 / 1.329 GB, free: 14.81 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.0006105/0.3769, allocations: 307.9 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.377, allocations: 8.031 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.377, allocations: 8.891 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.3773, allocations: 122.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3773, allocations: 4.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3773, allocations: 16.3 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3774, allocations: 54.19 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3774, allocations: 192 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3775, allocations: 7.875 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.3775, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.3775, allocations: 15.98 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3779, allocations: 228.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.378, allocations: 34.44 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.378, allocations: 8.922 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.378, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3781, allocations: 55.39 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3781, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002051/0.3783, allocations: 61.62 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3784, allocations: 51.41 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3785, allocations: 105.8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3785, allocations: 29.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.3786, allocations: 92.09 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.3786, allocations: 3.953 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.3787, allocations: 33.69 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3788, allocations: 322.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.3789, allocations: 57.69 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.379, allocations: 80.25 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3791, allocations: 80.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3791, allocations: 3.938 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002734/0.3794, allocations: 173 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.3794, allocations: 37.69 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3794, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3795, allocations: 4.094 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.898e-05/0.3795, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3795, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3797, allocations: 31.86 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.3797, allocations: 11.98 kB / 1.331 GB, free: 12.55 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.0001082/0.3798, allocations: 118.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.3798, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3799, allocations: 11.94 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3799, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3799, allocations: 7.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.3799, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3799, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.3799, allocations: 320 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3799, allocations: 8.172 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001141/0.38, allocations: 129 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001747/0.3802, allocations: 238.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.191e-05/0.3802, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3803, allocations: 87.27 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Backend: time 2.51e-07/0.3803, allocations: 3.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.3808, allocations: 207.5 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005664/0.3814, allocations: 0.5811 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Templates: time 0.004022/0.3854, allocations: 1.213 MB / 1.334 GB, free: 9.863 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: 9.399711115998798]