Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.911/1.911, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 175.3 kB / 393.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009347, allocations: 87.86 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005607/0.0005609, allocations: 12 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.7341, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002787/0.737, allocations: 1.665 MB / 1.043 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.7389, allocations: 1.272 MB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.7391, allocations: 7.188 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.7396, allocations: 154.5 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.7399, allocations: 126.1 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.7404, allocations: 207.5 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.7408, allocations: 292.7 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.7409, allocations: 49.2 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.7411, allocations: 129 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.7413, allocations: 132.7 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.7413, allocations: 8.438 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.7415, allocations: 49.14 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.7416, allocations: 73.91 kB / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.7417, allocations: 144.3 kB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.7421, allocations: 352 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7421, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7421, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7421, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008358/0.743, allocations: 0.5709 MB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.743, allocations: 9.812 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.7431, allocations: 39.62 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.7436, allocations: 374.4 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.7436, allocations: 10.81 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.7436, allocations: 3.656 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.7439, allocations: 111.1 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7439, allocations: 0 / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7439, allocations: 0.875 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7439, allocations: 2 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.7441, allocations: 64.12 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.7448, allocations: 0.4909 MB / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.7452, allocations: 138.8 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.7453, allocations: 51.06 kB / 1.047 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.7453, allocations: 5.25 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.7456, allocations: 106.9 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.7456, allocations: 0 / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004985/0.7461, allocations: 228.6 kB / 1.048 GB, free: 54.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.7461, allocations: 54.55 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.7467, allocations: 0.5088 MB / 1.048 GB, free: 53.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.7467, allocations: 30.23 kB / 1.048 GB, free: 53.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7468, allocations: 163.5 kB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.7469, allocations: 39.55 kB / 1.048 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.7469, allocations: 4 kB / 1.048 GB, free: 53.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.747, allocations: 351.7 kB / 1.049 GB, free: 53.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.7472, allocations: 94.02 kB / 1.049 GB, free: 53.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.7474, allocations: 135.5 kB / 1.049 GB, free: 53.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.7477, allocations: 182.5 kB / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7477, allocations: 3.938 kB / 1.049 GB, free: 53.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005567/0.7483, allocations: 316.7 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7483, allocations: 8.094 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.7483, allocations: 5.812 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7483, allocations: 7.688 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.7486, allocations: 46.41 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7486, allocations: 1.906 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.7487, allocations: 19 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.7488, allocations: 11.56 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * 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.0001577/0.7489, allocations: 180.6 kB / 1.05 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.749, allocations: 41.11 kB / 1.05 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.7491, allocations: 40.14 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7491, allocations: 1.312 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7491, allocations: 0.5625 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7491, allocations: 3.984 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.7493, allocations: 294 kB / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.7494, allocations: 0 / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.7494, allocations: 11.53 kB / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7494, allocations: 2.969 kB / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.7495, allocations: 14.14 kB / 1.05 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7495, allocations: 4.469 kB / 1.05 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7495, allocations: 2.281 kB / 1.05 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.7498, allocations: 211.2 kB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.7499, allocations: 113.2 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.75, allocations: 6.156 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.7501, allocations: 10.61 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.7502, allocations: 17.52 kB / 1.05 GB, free: 52.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.7502, allocations: 6.625 kB / 1.05 GB, free: 52.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003311/0.7505, allocations: 317.2 kB / 1.051 GB, free: 52.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7505, allocations: 0 / 1.051 GB, free: 52.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000296/0.7508, allocations: 57.77 kB / 1.051 GB, free: 52.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001042/0.7519, allocations: 487.3 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.7523, allocations: 191 kB / 1.051 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7523, allocations: 0 / 1.051 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7525, allocations: 66.39 kB / 1.051 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.753, allocations: 88.77 kB / 1.052 GB, free: 51.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.7539, allocations: 0.5953 MB / 1.052 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.7541, allocations: 0.7912 MB / 1.053 GB, free: 50.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.7543, allocations: 48.45 kB / 1.053 GB, free: 50.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.7544, allocations: 36.91 kB / 1.053 GB, free: 50.68 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.7544, allocations: 0 / 1.053 GB, free: 50.68 MB / 0.698 GB Notification: Performance of Templates: time 0.008598/0.763, allocations: 3.824 MB / 1.057 GB, free: 50.4 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)