Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.00102/0.00102, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002393, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007061/0.0007061, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009916/0.001698, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.049/1.049, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.153, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.867/1.867, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5127/2.38, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.957e-05, allocations: 5.859 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003708/0.003737, allocations: 1.902 MB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.005706, allocations: 1.164 MB / 0.7327 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.00581, allocations: 4 kB / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.006381, allocations: 166 kB / 0.7328 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.006788, allocations: 169.4 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.007229, allocations: 140.8 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.007504, allocations: 175.9 kB / 0.7333 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.007616, allocations: 19.66 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.007838, allocations: 124.4 kB / 0.7334 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.007975, allocations: 75.78 kB / 0.7335 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.007999, allocations: 8 kB / 0.7335 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.008192, allocations: 67.83 kB / 0.7336 GB, free: 452 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.008277, allocations: 40.36 kB / 0.7336 GB, free: 412 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.008331, allocations: 29.53 kB / 0.7336 GB, free: 384 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.008624, allocations: 147.4 kB / 0.7338 GB, free: 236 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.00864, allocations: 0 / 0.7338 GB, free: 236 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.008643, allocations: 0 / 0.7338 GB, free: 236 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.00866, allocations: 4.656 kB / 0.7338 GB, free: 232 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007832/0.009443, allocations: 429.1 kB / 0.7342 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.00949, allocations: 13.05 kB / 0.7342 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.009544, allocations: 8.938 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.009817, allocations: 196.1 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.009838, allocations: 384 / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.009857, allocations: 8.125 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.01001, allocations: 73.14 kB / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.01002, allocations: 0 / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.01003, allocations: 0 / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.01006, allocations: 1.344 kB / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.01011, allocations: 19.92 kB / 0.7345 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.01049, allocations: 201.7 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.01062, allocations: 90.42 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.01065, allocations: 17.81 kB / 0.7348 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.01067, allocations: 0 / 0.7348 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.0108, allocations: 74.98 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.0108, allocations: 0 / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001775/0.01098, allocations: 78.08 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.01103, allocations: 51.41 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.01125, allocations: 225.7 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01127, allocations: 25.7 kB / 0.7352 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.01134, allocations: 104.6 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.01137, allocations: 19.8 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.01142, allocations: 34.66 kB / 0.7354 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01159, allocations: 334.7 kB / 0.7357 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.01162, allocations: 16.78 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.01168, allocations: 56.28 kB / 0.7358 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.01176, allocations: 47.33 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01176, allocations: 0 / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.0119, allocations: 69.19 kB / 0.7359 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.01192, allocations: 9.406 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.01193, allocations: 0.8594 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01195, allocations: 3.938 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.01205, allocations: 16.69 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01205, allocations: 0 / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.01211, allocations: 18.12 kB / 0.7359 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.01212, allocations: 0 / 0.7359 GB, free: 13.85 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001091/0.01223, allocations: 124.6 kB / 0.736 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.01225, allocations: 7.984 kB / 0.736 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.01241, allocations: 76.55 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.01242, allocations: 4 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01242, allocations: 0 / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01243, allocations: 3.984 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.01258, allocations: 111 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.01259, allocations: 7.922 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.01263, allocations: 4 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.01265, allocations: 21.14 kB / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01266, allocations: 0 / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01267, allocations: 4 kB / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01267, allocations: 0 / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01267, allocations: 0.5938 kB / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.0128, allocations: 109.8 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.01284, allocations: 4 kB / 0.7364 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.01288, allocations: 7.984 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.01292, allocations: 11.98 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01293, allocations: 0 / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001666/0.0131, allocations: 73.03 kB / 0.7365 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0131, allocations: 0 / 0.7365 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002354/0.01333, allocations: 35.88 kB / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001293/0.01463, allocations: 0.564 MB / 0.737 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01474, allocations: 40.78 kB / 0.7371 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.01474, allocations: 4 kB / 0.7371 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.01478, allocations: 28.78 kB / 0.7371 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01502, allocations: 243.4 kB / 0.7373 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.01555, allocations: 277.4 kB / 0.7376 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.01559, allocations: 75.83 kB / 0.7377 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.01564, allocations: 21.94 kB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.01571, allocations: 76.91 kB / 0.7378 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.01571, allocations: 0 / 0.7378 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.00473/0.02045, allocations: 2.708 MB / 0.7404 GB, free: 9.551 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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: 4.97226027213037]