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.000897/0.000897, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002143, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007169/0.0007169, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009689/0.001686, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.054/1.054, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.158, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.513/2.513, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.272/2.785, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.943e-05, allocations: 9.062 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001962/0.001991, allocations: 0.6766 MB / 0.8196 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.006478, allocations: 1.162 MB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.006524, allocations: 4 kB / 0.8207 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.413e-05/0.006588, allocations: 3.938 kB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.006614, allocations: 3.938 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.007005, allocations: 123.6 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.007169, allocations: 87.83 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.149e-05/0.007241, allocations: 8 kB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.007341, allocations: 51.89 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.007452, allocations: 27.95 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.007475, allocations: 8 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.007555, allocations: 19.98 kB / 0.821 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.007605, allocations: 7.938 kB / 0.8211 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.007649, allocations: 19.94 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.007789, allocations: 63.88 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.007802, allocations: 0 / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of FrontEnd: time 2.024e-06/0.007804, allocations: 7.984 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.007818, allocations: 3.938 kB / 0.8211 GB, free: 188 kB / 0.7917 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.0004277/0.008245, allocations: 290.2 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.008282, allocations: 8.031 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.01135, allocations: 12.92 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.01151, allocations: 113.8 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.01152, allocations: 4.375 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.01155, allocations: 16.31 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.01162, allocations: 34.25 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.01163, allocations: 192 / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.01163, allocations: 4.375 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.01164, allocations: 4.359 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.01165, allocations: 7.938 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.01188, allocations: 172.2 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.01192, allocations: 22.56 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-06/0.01193, allocations: 4.859 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-06/0.01194, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.01204, allocations: 59.44 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.01204, allocations: 0 / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000127/0.01217, allocations: 53.56 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.0122, allocations: 55.41 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.01228, allocations: 114.9 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.0123, allocations: 25.7 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.01234, allocations: 88.09 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.01235, allocations: 7.984 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.01245, allocations: 29.69 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.01253, allocations: 314.8 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.01258, allocations: 49.69 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.01264, allocations: 72.33 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.01272, allocations: 76.19 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01272, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000153/0.01287, allocations: 149 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.01291, allocations: 45.58 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01292, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01293, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.01295, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.01296, allocations: 4 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.0131, allocations: 27.86 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.01311, allocations: 8.094 kB / 0.8229 GB, free: 14.13 MB / 0.8073 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 8.144e-05/0.01319, allocations: 120.6 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.01321, allocations: 7.984 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.01323, allocations: 7.938 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01323, allocations: 0 / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01323, allocations: 0 / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01324, allocations: 0 / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.851e-05/0.0133, allocations: 77.88 kB / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01331, allocations: 0 / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.01331, allocations: 0 / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.01332, allocations: 4 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01332, allocations: 4 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.01333, allocations: 3.938 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01333, allocations: 0 / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01333, allocations: 0 / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.01341, allocations: 73.28 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.01342, allocations: 3.984 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.01344, allocations: 0 / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.01346, allocations: 7.938 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.01346, allocations: 0 / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.974e-05/0.01348, allocations: 20.89 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01348, allocations: 4 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001693/0.01365, allocations: 16 kB / 0.8233 GB, free: 13.73 MB / 0.8073 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.0001362/0.01379, allocations: 84.42 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.01394, allocations: 129.9 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01394, allocations: 0 / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.01397, allocations: 20.78 kB / 0.8235 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.01712, allocations: 72.5 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.01766, allocations: 129 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.0177, allocations: 63.2 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.01772, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.01781, allocations: 63.36 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of SimCode: time 9.01e-07/0.01782, allocations: 0 / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.007498/0.02531, allocations: 1.286 MB / 0.8251 GB, free: 11.84 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.52892757114023]