Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001517/0.001517, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001625/0.001625, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.908e-05, allocations: 5.781 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003949/0.003978, allocations: 1.993 MB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.006733, allocations: 1.28 MB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.006887, allocations: 4.5 kB / 0.7896 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.00738, allocations: 165.9 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.008004, allocations: 215 kB / 0.79 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.008484, allocations: 169.9 kB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.009016, allocations: 347 kB / 0.7904 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.00916, allocations: 28.86 kB / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/0.009517, allocations: 187.5 kB / 0.7907 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.009785, allocations: 139.6 kB / 0.7908 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.009833, allocations: 16 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.009995, allocations: 69.59 kB / 0.7909 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01013, allocations: 95.61 kB / 0.791 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01024, allocations: 67.78 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.01082, allocations: 382.6 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01082, allocations: 0.5938 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01082, allocations: 4 kB / 0.7914 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.01084, allocations: 1.344 kB / 0.7914 GB, free: 7.68 MB / 0.7448 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.001347/0.01218, allocations: 0.5624 MB / 0.7919 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.01223, allocations: 13.16 kB / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.01241, allocations: 44.7 kB / 0.792 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.01312, allocations: 328.1 kB / 0.7923 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.01315, allocations: 8.969 kB / 0.7923 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.01318, allocations: 15.92 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.01353, allocations: 107.9 kB / 0.7924 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01354, allocations: 0 / 0.7924 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.01357, allocations: 10.58 kB / 0.7924 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.01358, allocations: 0 / 0.7924 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.0138, allocations: 71.86 kB / 0.7925 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01484, allocations: 416.2 kB / 0.7929 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.01525, allocations: 135.3 kB / 0.793 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.0154, allocations: 45.56 kB / 0.7931 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01542, allocations: 0.5312 kB / 0.7931 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.01571, allocations: 124.2 kB / 0.7932 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.01571, allocations: 0 / 0.7932 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0006632/0.01637, allocations: 237.4 kB / 0.7934 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.01643, allocations: 55.94 kB / 0.7935 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.01724, allocations: 0.5327 MB / 0.794 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.01727, allocations: 38.41 kB / 0.794 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01744, allocations: 176.5 kB / 0.7942 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.01749, allocations: 36.84 kB / 0.7942 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.01761, allocations: 69.97 kB / 0.7943 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.01781, allocations: 350.8 kB / 0.7946 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.01803, allocations: 101.9 kB / 0.7947 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.01829, allocations: 139.6 kB / 0.7949 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.01866, allocations: 180.2 kB / 0.795 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01866, allocations: 0 / 0.795 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006628/0.01932, allocations: 355.3 kB / 0.7954 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01934, allocations: 4 kB / 0.7954 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01934, allocations: 0.8438 kB / 0.7954 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.01937, allocations: 7.984 kB / 0.7954 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01961, allocations: 49.2 kB / 0.7954 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.01963, allocations: 11.92 kB / 0.7955 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01976, allocations: 11.94 kB / 0.7955 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.0198, allocations: 12.83 kB / 0.7955 GB, free: 3.32 MB / 0.7448 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.0002237/0.02002, allocations: 191 kB / 0.7957 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.02009, allocations: 39.77 kB / 0.7957 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.0206, allocations: 210 kB / 0.7959 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.02061, allocations: 4 kB / 0.7959 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.02061, allocations: 3.938 kB / 0.7959 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02062, allocations: 0 / 0.7959 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.02091, allocations: 230.8 kB / 0.7961 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.02091, allocations: 0 / 0.7961 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.021, allocations: 15.98 kB / 0.7961 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.021, allocations: 0 / 0.7961 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.02102, allocations: 6.719 kB / 0.7961 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.02102, allocations: 3.938 kB / 0.7962 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02102, allocations: 3.938 kB / 0.7962 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.02149, allocations: 239.8 kB / 0.7964 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.02157, allocations: 35.75 kB / 0.7964 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.02162, allocations: 8 kB / 0.7964 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.02172, allocations: 8.484 kB / 0.7964 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.0218, allocations: 23.97 kB / 0.7965 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.02182, allocations: 8.469 kB / 0.7965 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004209/0.02224, allocations: 329.1 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02224, allocations: 0 / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003126/0.02256, allocations: 59.92 kB / 0.7968 GB, free: 1.871 MB / 0.7448 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.002048/0.0246, allocations: 458.7 kB / 0.7973 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.0251, allocations: 189.2 kB / 0.7975 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0251, allocations: 0 / 0.7975 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.02528, allocations: 61 kB / 0.7975 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.02579, allocations: 99.33 kB / 0.7976 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.0269, allocations: 0.5736 MB / 0.7982 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.02713, allocations: 195.7 kB / 0.7984 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.0273, allocations: 58.94 kB / 0.7984 GB, free: 420 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.0274, allocations: 40.48 kB / 0.7984 GB, free: 380 kB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.0274, allocations: 0 / 0.7984 GB, free: 380 kB / 0.7448 GB Notification: Performance of Templates: time 0.01031/0.03771, allocations: 4.52 MB / 0.8029 GB, free: 11.93 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.069058303022757]