Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001215/0.001215, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001409/0.001409, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8748/0.8748, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.737/1.737, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.497e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003251/0.003276, allocations: 1.982 MB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.00556, allocations: 1.29 MB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.005672, allocations: 3.938 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.006104, allocations: 159.3 kB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.006528, allocations: 211 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.006808, allocations: 167.5 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.007184, allocations: 339 kB / 0.9862 GB, free: 13.92 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.007331, allocations: 44.83 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.007558, allocations: 183.5 kB / 0.9865 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.007769, allocations: 147.6 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.007806, allocations: 12 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.007925, allocations: 55.92 kB / 0.9867 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.008034, allocations: 107.6 kB / 0.9868 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.008114, allocations: 63.78 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.008538, allocations: 382.7 kB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.008541, allocations: 7.938 kB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.008542, allocations: 0 / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.008547, allocations: 0 / 0.9872 GB, free: 12.93 MB / 0.948 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.0008493/0.009396, allocations: 0.5779 MB / 0.9878 GB, free: 12.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.009435, allocations: 12.03 kB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.009512, allocations: 40.64 kB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.009971, allocations: 308.2 kB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.009993, allocations: 12.12 kB / 0.9881 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.01001, allocations: 8 kB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.01024, allocations: 117.5 kB / 0.9882 GB, free: 11.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01025, allocations: 3.984 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01027, allocations: 0 / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.01027, allocations: 4 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.01043, allocations: 63.95 kB / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.01111, allocations: 424.1 kB / 0.9887 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.01141, allocations: 134.7 kB / 0.9888 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01151, allocations: 56.83 kB / 0.9889 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.01153, allocations: 0 / 0.9889 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.01173, allocations: 111.3 kB / 0.989 GB, free: 10.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.01173, allocations: 0 / 0.989 GB, free: 10.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004782/0.01221, allocations: 229.3 kB / 0.9892 GB, free: 10.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.01226, allocations: 67.33 kB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.01282, allocations: 0.5288 MB / 0.9898 GB, free: 10.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01284, allocations: 29.7 kB / 0.9898 GB, free: 10.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01298, allocations: 184.5 kB / 0.99 GB, free: 9.902 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.01302, allocations: 35.69 kB / 0.99 GB, free: 9.867 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.01312, allocations: 69.97 kB / 0.9901 GB, free: 9.789 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01324, allocations: 350.8 kB / 0.9904 GB, free: 9.438 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.01342, allocations: 100.5 kB / 0.9905 GB, free: 9.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.01362, allocations: 140.8 kB / 0.9907 GB, free: 9.195 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.01392, allocations: 183.5 kB / 0.9908 GB, free: 9.008 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01393, allocations: 0 / 0.9908 GB, free: 9.008 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000501/0.01443, allocations: 341.3 kB / 0.9912 GB, free: 8.668 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01445, allocations: 8 kB / 0.9912 GB, free: 8.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01445, allocations: 0 / 0.9912 GB, free: 8.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01446, allocations: 0 / 0.9912 GB, free: 8.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01466, allocations: 51.91 kB / 0.9912 GB, free: 8.609 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01467, allocations: 3.938 kB / 0.9912 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01478, allocations: 23.88 kB / 0.9913 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.01482, allocations: 12 kB / 0.9913 GB, free: 8.57 MB / 0.948 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * 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.0001755/0.01499, allocations: 186.5 kB / 0.9914 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.01504, allocations: 39.75 kB / 0.9915 GB, free: 8.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.01542, allocations: 204.7 kB / 0.9917 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01543, allocations: 4 kB / 0.9917 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01543, allocations: 3.938 kB / 0.9917 GB, free: 8.129 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01544, allocations: 0 / 0.9917 GB, free: 8.129 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01566, allocations: 233.1 kB / 0.9919 GB, free: 7.871 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01566, allocations: 0 / 0.9919 GB, free: 7.871 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.01573, allocations: 19.92 kB / 0.9919 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01573, allocations: 4 kB / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.01575, allocations: 11.98 kB / 0.9919 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01575, allocations: 0 / 0.9919 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01575, allocations: 0 / 0.9919 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.01633, allocations: 235.3 kB / 0.9922 GB, free: 7.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.01639, allocations: 39.77 kB / 0.9922 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.01643, allocations: 0 / 0.9922 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.01652, allocations: 11.98 kB / 0.9922 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.01659, allocations: 19.97 kB / 0.9922 GB, free: 7.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.0166, allocations: 7.938 kB / 0.9922 GB, free: 7.512 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003375/0.01694, allocations: 335.1 kB / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01694, allocations: 0 / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003148/0.01726, allocations: 55.94 kB / 0.9926 GB, free: 7.133 MB / 0.948 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0009923/0.01825, allocations: 457.8 kB / 0.993 GB, free: 6.863 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.01866, allocations: 191.8 kB / 0.9932 GB, free: 6.676 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01867, allocations: 0 / 0.9932 GB, free: 6.676 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.0188, allocations: 66.42 kB / 0.9933 GB, free: 6.613 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.01922, allocations: 93.3 kB / 0.9934 GB, free: 6.535 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.02012, allocations: 0.5936 MB / 0.994 GB, free: 5.906 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.02029, allocations: 191.8 kB / 0.9941 GB, free: 5.699 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.02038, allocations: 40.42 kB / 0.9942 GB, free: 5.66 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.02038, allocations: 0 / 0.9942 GB, free: 5.66 MB / 0.948 GB Notification: Performance of Templates: time 0.006431/0.02681, allocations: 4.757 MB / 0.9988 GB, free: 0.9141 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 7.0315634198486805]