Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001826/0.001826, allocations: 79.19 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002231/0.002231, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.631/2.631, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 68.08 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2789, allocations: 169.9 MB / 1.117 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003142/0.2821, allocations: 1.793 MB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.284, allocations: 1.115 MB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.2841, allocations: 7.938 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.2847, allocations: 171.5 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.2851, allocations: 159.5 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2854, allocations: 135.6 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.2857, allocations: 175.5 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.2858, allocations: 17.3 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2859, allocations: 75.69 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.286, allocations: 75.67 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.286, allocations: 11.94 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.2862, allocations: 71.94 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.2863, allocations: 39.91 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.2863, allocations: 47.67 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.2866, allocations: 211.1 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2866, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2866, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2866, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 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.0006773/0.2873, allocations: 434.8 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2873, allocations: 11.97 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.2874, allocations: 20.8 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.2877, allocations: 194.1 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2877, allocations: 384 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2877, allocations: 12.12 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.2879, allocations: 73.67 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2879, allocations: 0 / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2879, allocations: 3.984 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2879, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.288, allocations: 39.92 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.2885, allocations: 296.3 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.2887, allocations: 70.67 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.2888, allocations: 36.78 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2888, allocations: 4 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.2889, allocations: 83.38 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.2889, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.00035/0.2893, allocations: 149.5 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.2893, allocations: 55.39 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.2896, allocations: 267.2 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2897, allocations: 33.7 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.2897, allocations: 116.1 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.2898, allocations: 31.77 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.2898, allocations: 25.7 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.29, allocations: 334.8 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.29, allocations: 31.98 kB / 1.124 GB, free: 11.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2902, allocations: 76.55 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2903, allocations: 85.66 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2903, allocations: 0 / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002195/0.2905, allocations: 121.5 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2905, allocations: 7.125 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2905, allocations: 160 / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2906, allocations: 8.062 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.2906, allocations: 11.98 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2906, allocations: 3.984 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.2907, allocations: 7.938 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.2907, allocations: 4 kB / 1.124 GB, free: 11.61 MB / 1.076 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.0001352/0.2908, allocations: 145.8 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.2909, allocations: 19.86 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.2911, allocations: 135.2 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2911, allocations: 0 / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2912, allocations: 8 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2912, allocations: 0 / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2913, allocations: 169.1 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2913, allocations: 0 / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.2914, allocations: 11.94 kB / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2914, allocations: 0 / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2914, allocations: 0 / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2914, allocations: 0 / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2914, allocations: 0 / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2916, allocations: 160.8 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2917, allocations: 23.88 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2917, allocations: 12 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.2918, allocations: 0 / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2918, allocations: 7.984 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2918, allocations: 4 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000213/0.292, allocations: 200.6 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.292, allocations: 3.938 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000242/0.2923, allocations: 31.94 kB / 1.125 GB, free: 10.63 MB / 1.076 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.00166/0.2939, allocations: 456.5 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2941, allocations: 75.84 kB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2941, allocations: 0 / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.2942, allocations: 39.92 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2945, allocations: 50.7 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.295, allocations: 310.6 kB / 1.126 GB, free: 9.863 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2952, allocations: 114.8 kB / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.2952, allocations: 25.78 kB / 1.126 GB, free: 9.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.2953, allocations: 20.48 kB / 1.126 GB, free: 9.691 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.2953, allocations: 0 / 1.126 GB, free: 9.691 MB / 1.076 GB Notification: Performance of Templates: time 0.005883/0.3012, allocations: 2.4 MB / 1.128 GB, free: 7.324 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.111639361944981]