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.000899/0.000899, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001166/0.001166, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9804/0.9804, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.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.791/1.791, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 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 1.373e-06/1.373e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.551e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002189/0.002205, allocations: 1.855 MB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003505, allocations: 1.156 MB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.003574, allocations: 0 / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.004047, allocations: 166.7 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.004295, allocations: 167.7 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.004519, allocations: 142 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.004682, allocations: 175.7 kB / 0.7636 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.004761, allocations: 17.95 kB / 0.7636 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004863, allocations: 96.23 kB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.004946, allocations: 69.92 kB / 0.7638 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.004963, allocations: 8 kB / 0.7638 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.005065, allocations: 71.81 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.005122, allocations: 43.84 kB / 0.7639 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.005162, allocations: 39.91 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.00534, allocations: 159.3 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005341, allocations: 0.75 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.42e-07/0.005342, allocations: 0 / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.005345, allocations: 0.75 kB / 0.7641 GB, free: 2.52 MB / 0.7136 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.0003791/0.005724, allocations: 401.5 kB / 0.7644 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.005751, allocations: 8.812 kB / 0.7645 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.005782, allocations: 12.92 kB / 0.7645 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005946, allocations: 189 kB / 0.7647 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00596, allocations: 4.375 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.005971, allocations: 4.375 kB / 0.7647 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.006064, allocations: 60.98 kB / 0.7647 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00607, allocations: 3.938 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.006078, allocations: 5.5 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.006094, allocations: 4 kB / 0.7647 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.00612, allocations: 15.92 kB / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.006361, allocations: 197.9 kB / 0.7649 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.006447, allocations: 94.52 kB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.006468, allocations: 18.09 kB / 0.765 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.006479, allocations: 3.938 kB / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.209e-05/0.006561, allocations: 66.16 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.006562, allocations: 2.875 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001112/0.006673, allocations: 73.61 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.006698, allocations: 59.39 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.006825, allocations: 228.1 kB / 0.7655 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.006838, allocations: 25.7 kB / 0.7655 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.006875, allocations: 100.6 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.006896, allocations: 23.84 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.006926, allocations: 32.44 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.007196, allocations: 326.8 kB / 0.7659 GB, free: 456 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.007214, allocations: 14.81 kB / 0.766 GB, free: 440 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.007244, allocations: 48.28 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.007291, allocations: 51.27 kB / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007293, allocations: 0 / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.123e-05/0.007364, allocations: 81.16 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.007373, allocations: 4.109 kB / 0.7661 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.007378, allocations: 5 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.007387, allocations: 4 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.007432, allocations: 8 kB / 0.7661 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.007434, allocations: 0.8125 kB / 0.7661 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.007466, allocations: 15.88 kB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.007471, allocations: 0.5625 kB / 0.7662 GB, free: 192 kB / 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 6.295e-05/0.007534, allocations: 132 kB / 0.7663 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.007548, allocations: 15.92 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.007641, allocations: 75.12 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.007649, allocations: 4 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.00765, allocations: 0 / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.007654, allocations: 3.984 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.633e-05/0.00774, allocations: 97.84 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007741, allocations: 0 / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.007757, allocations: 15 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007758, allocations: 0 / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.007763, allocations: 3.938 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007765, allocations: 3.984 kB / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007765, allocations: 0 / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.053e-05/0.007836, allocations: 102.7 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.007853, allocations: 19.8 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.00787, allocations: 11.94 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.007892, allocations: 5.703 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.007914, allocations: 7.984 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.00792, allocations: 4 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.007976, allocations: 73.02 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007976, allocations: 2.531 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001439/0.00812, allocations: 35.92 kB / 0.7668 GB, free: 15.54 MB / 0.7292 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.00104/0.00916, allocations: 0.5171 MB / 0.7673 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.009248, allocations: 40.78 kB / 0.7673 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.00925, allocations: 0.9062 kB / 0.7673 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.009282, allocations: 32.94 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.009406, allocations: 46.8 kB / 0.7674 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.009706, allocations: 274.4 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.009742, allocations: 75.83 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.009781, allocations: 22.95 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.009847, allocations: 75.92 kB / 0.7678 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.009848, allocations: 0 / 0.7678 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.004088/0.01394, allocations: 2.656 MB / 0.7704 GB, free: 12.16 MB / 0.7292 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.906895712949336]