Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008302/0.008302, allocations: 99.38 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3326, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003848/0.3364, allocations: 1.77 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3384, allocations: 1.114 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3385, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.3389, allocations: 55.73 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.3393, allocations: 79.66 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.3401, allocations: 235.1 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3403, allocations: 143.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3404, allocations: 9.125 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3406, allocations: 63.7 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3407, allocations: 67.75 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3408, allocations: 11.94 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.341, allocations: 71.94 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.341, allocations: 47.77 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.3411, allocations: 59.62 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3415, allocations: 199.2 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3415, allocations: 3.938 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3415, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3415, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 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.0007424/0.3422, allocations: 496 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3423, allocations: 8.031 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.3423, allocations: 16.84 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3427, allocations: 264.9 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3427, allocations: 4.375 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3428, allocations: 8.125 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.343, allocations: 92.17 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.343, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.343, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.343, allocations: 7.984 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3431, allocations: 27.98 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.3437, allocations: 356.7 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3439, allocations: 78.67 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.344, allocations: 36.78 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.344, allocations: 3.984 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3442, allocations: 95.34 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 4.188e-06/0.3442, allocations: 3.984 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004036/0.3446, allocations: 137.5 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3447, allocations: 102.8 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.345, allocations: 263 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.345, allocations: 29.7 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.3451, allocations: 116.1 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3451, allocations: 31.78 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.3452, allocations: 25.7 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3453, allocations: 330.8 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3454, allocations: 27.98 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3455, allocations: 76.14 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3456, allocations: 69.7 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3456, allocations: 0 / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002243/0.3458, allocations: 109.5 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3459, allocations: 4 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3459, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3459, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.346, allocations: 19.98 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.346, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.3461, allocations: 19.92 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3461, allocations: 7.984 kB / 1.227 GB, free: 6.797 MB / 0.9825 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 0.0001327/0.3462, allocations: 142.5 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3462, allocations: 15.91 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.3463, allocations: 17.41 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3463, allocations: 0 / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3463, allocations: 3.984 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3463, allocations: 7.938 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3465, allocations: 221.6 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3465, allocations: 4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3466, allocations: 7.938 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3466, allocations: 0 / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3466, allocations: 4 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3466, allocations: 0 / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3466, allocations: 0 / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3469, allocations: 148.9 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.347, allocations: 96.94 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.347, allocations: 8 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.347, allocations: 4 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3471, allocations: 11.98 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3471, allocations: 7.938 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000179/0.3473, allocations: 200.4 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3473, allocations: 0 / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002666/0.3476, allocations: 31.94 kB / 1.228 GB, free: 5.781 MB / 0.9825 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001092/0.3486, allocations: 421 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.3489, allocations: 71.89 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3489, allocations: 3.938 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.349, allocations: 31.98 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3493, allocations: 42.66 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.3499, allocations: 314.3 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3502, allocations: 0.7241 MB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.826e-05/0.3502, allocations: 25.06 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.3503, allocations: 19.44 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.3503, allocations: 0 / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.00659/0.3569, allocations: 2.555 MB / 1.232 GB, free: 1.723 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches