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.00196/0.00196, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002143/0.002143, allocations: 166.3 kB / 22.46 MB, free: 5.375 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.543/1.543, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.876/2.876, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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 4.389e-06/4.389e-06, allocations: 3.984 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.496e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00336/0.003395, allocations: 1.789 MB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.005571, allocations: 1.125 MB / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.005657, allocations: 0 / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.006355, allocations: 167.5 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.006781, allocations: 167.3 kB / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.007161, allocations: 139.5 kB / 0.9847 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.007452, allocations: 183.5 kB / 0.9849 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.007554, allocations: 13.25 kB / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.007726, allocations: 99.72 kB / 0.985 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.007857, allocations: 67.8 kB / 0.9851 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.007887, allocations: 8 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.008053, allocations: 67.88 kB / 0.9852 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.008138, allocations: 47.84 kB / 0.9852 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.008223, allocations: 39.84 kB / 0.9852 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.008579, allocations: 203.3 kB / 0.9854 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.008586, allocations: 3.984 kB / 0.9854 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.636e-06/0.00859, allocations: 4 kB / 0.9854 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.008597, allocations: 0 / 0.9854 GB, free: 7.82 MB / 0.9356 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.0008283/0.009425, allocations: 426.8 kB / 0.9858 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.009478, allocations: 12.03 kB / 0.9859 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.009537, allocations: 16.84 kB / 0.9859 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.009873, allocations: 193.3 kB / 0.9861 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.009889, allocations: 4.375 kB / 0.9861 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.009911, allocations: 8.375 kB / 0.9861 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.01011, allocations: 78.16 kB / 0.9861 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01013, allocations: 3.938 kB / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.01014, allocations: 0 / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.01015, allocations: 4 kB / 0.9861 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.01026, allocations: 39.92 kB / 0.9862 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.0108, allocations: 284.4 kB / 0.9865 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01104, allocations: 78.61 kB / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.01113, allocations: 44.72 kB / 0.9866 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.01114, allocations: 0 / 0.9866 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.01133, allocations: 83.38 kB / 0.9867 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.01133, allocations: 112 / 0.9867 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004019/0.01173, allocations: 153.4 kB / 0.9868 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.01178, allocations: 51.41 kB / 0.9869 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.01212, allocations: 267.2 kB / 0.9871 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01215, allocations: 29.7 kB / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01227, allocations: 128.1 kB / 0.9873 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.0123, allocations: 31.78 kB / 0.9873 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.01236, allocations: 25.7 kB / 0.9873 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.01253, allocations: 326.8 kB / 0.9876 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.01261, allocations: 27.98 kB / 0.9876 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.01273, allocations: 88.25 kB / 0.9877 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.01289, allocations: 77.58 kB / 0.9878 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01289, allocations: 0 / 0.9878 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002351/0.01313, allocations: 121.9 kB / 0.9879 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01314, allocations: 8.062 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01315, allocations: 3.938 kB / 0.9879 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01316, allocations: 0 / 0.9879 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.01324, allocations: 15.98 kB / 0.988 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01325, allocations: 0 / 0.988 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.01331, allocations: 11.89 kB / 0.988 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01332, allocations: 3.938 kB / 0.988 GB, free: 5.027 MB / 0.9356 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.0001403/0.01346, allocations: 146.3 kB / 0.9881 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.01349, allocations: 19.89 kB / 0.9881 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.01382, allocations: 135.1 kB / 0.9883 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.01383, allocations: 0 / 0.9883 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01383, allocations: 0 / 0.9883 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01384, allocations: 4 kB / 0.9883 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.01409, allocations: 165.1 kB / 0.9884 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01409, allocations: 0 / 0.9884 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.01412, allocations: 7.938 kB / 0.9884 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01413, allocations: 4 kB / 0.9884 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01414, allocations: 7.984 kB / 0.9884 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01414, allocations: 0 / 0.9884 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01415, allocations: 3.984 kB / 0.9884 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.01441, allocations: 149 kB / 0.9886 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.01444, allocations: 19.89 kB / 0.9886 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.01447, allocations: 4 kB / 0.9886 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.01452, allocations: 0 / 0.9886 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.01458, allocations: 11.98 kB / 0.9886 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01459, allocations: 11.94 kB / 0.9886 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002323/0.01483, allocations: 204.6 kB / 0.9888 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01483, allocations: 0 / 0.9888 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000262/0.01509, allocations: 35.89 kB / 0.9889 GB, free: 4.055 MB / 0.9356 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.001771/0.01686, allocations: 462 kB / 0.9893 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.0171, allocations: 67.97 kB / 0.9894 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0171, allocations: 0 / 0.9894 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01721, allocations: 43.91 kB / 0.9894 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01755, allocations: 40.02 kB / 0.9894 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.01824, allocations: 310.1 kB / 0.9897 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.01837, allocations: 118.8 kB / 0.9898 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.01845, allocations: 29.77 kB / 0.9899 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.0185, allocations: 20.5 kB / 0.9899 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.0185, allocations: 0 / 0.9899 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.006664/0.02517, allocations: 2.401 MB / 0.9922 GB, free: 0.7422 MB / 0.9356 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: 8.334089737385511]