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.0007976/0.0007976, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007883/0.0007883, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.9792/0.9792, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.829/1.829, allocations: 377.8 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.003e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002476/0.002506, allocations: 1.795 MB / 0.984 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003874, allocations: 1.114 MB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.003961, allocations: 0 / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.00456, allocations: 171.5 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.004868, allocations: 159.3 kB / 0.9854 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.005161, allocations: 142.8 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.005348, allocations: 171.5 kB / 0.9857 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.005455, allocations: 25.23 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.005565, allocations: 95.67 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.005661, allocations: 67.84 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.005681, allocations: 8 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.005805, allocations: 71.88 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.005869, allocations: 39.86 kB / 0.986 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.005918, allocations: 39.86 kB / 0.986 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.00617, allocations: 211.3 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006173, allocations: 3.938 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.006175, allocations: 0 / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.00618, allocations: 4 kB / 0.9862 GB, free: 13.97 MB / 0.948 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.0005829/0.006763, allocations: 442.8 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006803, allocations: 8.031 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.006852, allocations: 16.84 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.007081, allocations: 190.1 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.007094, allocations: 4.375 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.007108, allocations: 8.359 kB / 0.9868 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.007243, allocations: 66.23 kB / 0.9869 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.007251, allocations: 3.938 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007262, allocations: 4 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.00727, allocations: 8 kB / 0.9869 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.719e-05/0.007337, allocations: 35.97 kB / 0.987 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.007723, allocations: 292.4 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.007866, allocations: 74.72 kB / 0.9873 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.007912, allocations: 40.72 kB / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.007932, allocations: 0 / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.008067, allocations: 87.36 kB / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.008069, allocations: 0 / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002511/0.00832, allocations: 153.5 kB / 0.9876 GB, free: 12.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.00835, allocations: 51.41 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.008547, allocations: 275.2 kB / 0.9879 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.00856, allocations: 25.7 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.008626, allocations: 124.1 kB / 0.988 GB, free: 11.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.008649, allocations: 23.78 kB / 0.988 GB, free: 11.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.008683, allocations: 25.72 kB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.008768, allocations: 335.1 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.00881, allocations: 27.98 kB / 0.9884 GB, free: 11.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.008874, allocations: 80.2 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.008958, allocations: 85.59 kB / 0.9886 GB, free: 11.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00896, allocations: 0 / 0.9886 GB, free: 11.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/0.009088, allocations: 125.5 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.009101, allocations: 4 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009106, allocations: 4 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.009119, allocations: 0 / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.009176, allocations: 8 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.009181, allocations: 0 / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.009219, allocations: 23.91 kB / 0.9887 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.009226, allocations: 4 kB / 0.9887 GB, free: 11.17 MB / 0.948 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 9.588e-05/0.009321, allocations: 142.2 kB / 0.9889 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.009339, allocations: 19.91 kB / 0.9889 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.00951, allocations: 127.2 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.009519, allocations: 7.984 kB / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.009523, allocations: 0 / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009527, allocations: 0 / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.009815, allocations: 173.1 kB / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.009817, allocations: 4 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.009834, allocations: 4 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.009837, allocations: 3.938 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009845, allocations: 4 kB / 0.9892 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009846, allocations: 0 / 0.9892 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009847, allocations: 80 / 0.9892 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.009985, allocations: 157 kB / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.01, allocations: 19.84 kB / 0.9894 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01002, allocations: 8.094 kB / 0.9894 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.01005, allocations: 11.92 kB / 0.9894 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01008, allocations: 11.98 kB / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01009, allocations: 0 / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001242/0.01022, allocations: 208.6 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001776/0.01039, allocations: 35.88 kB / 0.9896 GB, free: 10.19 MB / 0.948 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.000747/0.01114, allocations: 442.6 kB / 0.9901 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.0113, allocations: 71.95 kB / 0.9901 GB, free: 9.859 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0113, allocations: 7.938 kB / 0.9901 GB, free: 9.852 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.01135, allocations: 39.98 kB / 0.9902 GB, free: 9.812 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01156, allocations: 49.83 kB / 0.9902 GB, free: 9.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.01202, allocations: 339.8 kB / 0.9905 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.01209, allocations: 114.8 kB / 0.9907 GB, free: 9.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.01213, allocations: 24.48 kB / 0.9907 GB, free: 9.246 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.01213, allocations: 0 / 0.9907 GB, free: 9.246 MB / 0.948 GB Notification: Performance of Templates: time 0.003184/0.01532, allocations: 2.683 MB / 0.9933 GB, free: 6.574 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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: 7.1207197261974216]