Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001561/0.001561, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001536/0.001536, allocations: 159.2 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.771/2.771, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [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.002201/0.002201, allocations: 63.89 kB / 0.9819 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8122, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002532/0.8148, allocations: 1.768 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.8163, allocations: 1.198 MB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.8164, allocations: 6.562 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.8167, allocations: 54.48 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.817, allocations: 119.2 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.8174, allocations: 215.9 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.8176, allocations: 153.9 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8177, allocations: 18.78 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.8178, allocations: 64.52 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.8179, allocations: 70.28 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.8179, allocations: 12.25 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.8181, allocations: 82.33 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.8181, allocations: 40.69 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.8182, allocations: 41.27 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.8184, allocations: 216.5 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8184, allocations: 0 / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8184, allocations: 0 / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8184, allocations: 0 / 1.158 GB, free: 30.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005384/0.819, allocations: 426.8 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.819, allocations: 8.906 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.819, allocations: 17.75 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.8193, allocations: 197 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.8193, allocations: 2.844 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.8194, allocations: 6.875 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8195, allocations: 116.9 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8195, allocations: 0 / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8196, allocations: 0 / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.8196, allocations: 2.688 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.8197, allocations: 40.98 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.8201, allocations: 306.8 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.8203, allocations: 90.06 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.8203, allocations: 33.64 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8204, allocations: 2.531 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.8205, allocations: 79.2 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.8205, allocations: 0 / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003254/0.8208, allocations: 152.9 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.8209, allocations: 80.02 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.8211, allocations: 279.8 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.8211, allocations: 32.52 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.8211, allocations: 123.3 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.8211, allocations: 18.8 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.8212, allocations: 25.86 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.8212, allocations: 335.3 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.8213, allocations: 25.59 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.8214, allocations: 116.3 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.8215, allocations: 72.23 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8215, allocations: 0 / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.8217, allocations: 119.6 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.8217, allocations: 5.344 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8217, allocations: 0 / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8217, allocations: 6.844 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.8218, allocations: 11.8 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8218, allocations: 2.781 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.8219, allocations: 10.78 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8219, allocations: 2.781 kB / 1.16 GB, free: 28.68 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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 8.865e-05/0.822, allocations: 146.4 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.822, allocations: 24.05 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.8223, allocations: 129.1 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.8223, allocations: 2.875 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8223, allocations: 0 / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8223, allocations: 0 / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.8224, allocations: 167.4 kB / 1.161 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8224, allocations: 0 / 1.161 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.526e-05/0.8224, allocations: 6.469 kB / 1.161 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8224, allocations: 2.938 kB / 1.161 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8225, allocations: 4 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8225, allocations: 4.188 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8225, allocations: 3.328 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.8227, allocations: 160.5 kB / 1.161 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.8227, allocations: 20.53 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.8227, allocations: 2.688 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.8228, allocations: 10.98 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.8228, allocations: 9.828 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.8228, allocations: 6.094 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001364/0.823, allocations: 203.5 kB / 1.161 GB, free: 28.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.823, allocations: 0 / 1.161 GB, free: 28.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002454/0.8232, allocations: 37.39 kB / 1.161 GB, free: 28.05 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.001591/0.8248, allocations: 452.1 kB / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.825, allocations: 74.25 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.825, allocations: 0 / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.8251, allocations: 41.47 kB / 1.162 GB, free: 27.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.8254, allocations: 46.73 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.8258, allocations: 310.8 kB / 1.162 GB, free: 27.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.8259, allocations: 117.9 kB / 1.162 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.167e-05/0.8259, allocations: 21.8 kB / 1.162 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.826, allocations: 24.73 kB / 1.162 GB, free: 27.51 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.826, allocations: 0 / 1.162 GB, free: 27.51 MB / 1.076 GB Notification: Performance of Templates: time 0.005502/0.8315, allocations: 2.673 MB / 1.165 GB, free: 27.16 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.523321748012677]