Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.4 kB / 17.08 MB, free: 5.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 194.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437.1 MB / 0.7177 GB, free: 4.766 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001693/0.2979, allocations: 0.6083 MB / 1.176 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2995, allocations: 1.129 MB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.2995, allocations: 0 / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.821e-05/0.2996, allocations: 3.938 kB / 1.178 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.169e-05/0.2997, allocations: 7.922 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.3001, allocations: 123.2 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3003, allocations: 95.88 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.3004, allocations: 11.94 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.3005, allocations: 35.91 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3006, allocations: 31.94 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3006, allocations: 11.94 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.3007, allocations: 20 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3007, allocations: 11.98 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3008, allocations: 27.92 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.301, allocations: 95.7 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.301, allocations: 0 / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.301, allocations: 0 / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.301, allocations: 0 / 1.178 GB, free: 3.695 MB / 0.92 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.0004919/0.3015, allocations: 381 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3015, allocations: 11.97 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.3016, allocations: 8.891 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.3018, allocations: 180.4 kB / 1.179 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3018, allocations: 12.36 kB / 1.179 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3018, allocations: 8.375 kB / 1.179 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.302, allocations: 42.25 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.302, allocations: 192 / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.302, allocations: 3.938 kB / 1.179 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.302, allocations: 4 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.302, allocations: 15.92 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3024, allocations: 308.8 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.3025, allocations: 22.58 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.3025, allocations: 8.797 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.3025, allocations: 0 / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.3027, allocations: 59.45 kB / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3027, allocations: 0 / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001876/0.3029, allocations: 61.64 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3029, allocations: 59.34 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3031, allocations: 113.8 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3031, allocations: 25.7 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.3032, allocations: 88.12 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3032, allocations: 7.953 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.3032, allocations: 29.7 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3034, allocations: 322.7 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.3035, allocations: 23.98 kB / 1.18 GB, free: 1.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.3036, allocations: 58.55 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3037, allocations: 84.2 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3037, allocations: 0 / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002415/0.3039, allocations: 139.2 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.304, allocations: 38.95 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.304, allocations: 4 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.304, allocations: 4.094 kB / 1.18 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.304, allocations: 4.297 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3041, allocations: 0 / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.3043, allocations: 31.91 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3043, allocations: 11.94 kB / 1.18 GB, free: 1.297 MB / 0.92 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 9.6e-05/0.3044, allocations: 121.8 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.3044, allocations: 0 / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3044, allocations: 11.89 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3045, allocations: 4 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3045, allocations: 0 / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3045, allocations: 240 / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3046, allocations: 165.6 kB / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3046, allocations: 0 / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.3046, allocations: 3.984 kB / 1.18 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3046, allocations: 3.984 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3047, allocations: 7.938 kB / 1.18 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3047, allocations: 0 / 1.18 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3047, allocations: 0 / 1.18 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.3048, allocations: 85.02 kB / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3048, allocations: 77.11 kB / 1.181 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3049, allocations: 7.984 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.3049, allocations: 0 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.3049, allocations: 0 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3049, allocations: 4 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.305, allocations: 83.28 kB / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.305, allocations: 0 / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002096/0.3052, allocations: 23.98 kB / 1.181 GB, free: 0.6055 MB / 0.92 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.0001404/0.3053, allocations: 99.25 kB / 1.181 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3056, allocations: 127.2 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3056, allocations: 0 / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.3056, allocations: 19.97 kB / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.3058, allocations: 7.938 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3061, allocations: 167.7 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3065, allocations: 0.6807 MB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.3065, allocations: 11.44 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3065, allocations: 0 / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.002627/0.3092, allocations: 0.9115 MB / 1.183 GB, free: 14.52 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.555877354927361]