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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00296/0.00296, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.498/3.498, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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 0.002045/0.002045, allocations: 72.23 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003738/0.4088, allocations: 2.027 MB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.4109, allocations: 1.228 MB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.4111, allocations: 7.938 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.4116, allocations: 159.4 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.4121, allocations: 155.4 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.4127, allocations: 228.2 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.4131, allocations: 323.1 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.4133, allocations: 36.5 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.4136, allocations: 155.5 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.4138, allocations: 167.3 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.4138, allocations: 16 kB / 1.312 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.414, allocations: 55.97 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.4141, allocations: 91.67 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.4142, allocations: 123.1 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.4148, allocations: 366.4 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4148, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4148, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4148, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 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.001192/0.416, allocations: 0.5586 MB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.416, allocations: 12.92 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.4161, allocations: 36.69 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.4167, allocations: 316.4 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.4167, allocations: 8 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4167, allocations: 12 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.417, allocations: 101.6 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.417, allocations: 0 / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.417, allocations: 15.92 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.417, allocations: 0 / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.4172, allocations: 59.88 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.4181, allocations: 463.5 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4185, allocations: 138.7 kB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4186, allocations: 44.78 kB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4186, allocations: 7.984 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.4189, allocations: 107.3 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4189, allocations: 4 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005713/0.4194, allocations: 229.2 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4195, allocations: 51.41 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.4202, allocations: 0.5132 MB / 1.315 GB, free: 9.836 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4202, allocations: 25.7 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.4204, allocations: 164.5 kB / 1.315 GB, free: 9.641 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.4204, allocations: 43.69 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4205, allocations: 69.97 kB / 1.315 GB, free: 9.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4207, allocations: 346.8 kB / 1.315 GB, free: 9.172 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.4209, allocations: 96.52 kB / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.4211, allocations: 132.8 kB / 1.316 GB, free: 8.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.4215, allocations: 186.5 kB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4215, allocations: 7.938 kB / 1.316 GB, free: 8.742 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005821/0.4221, allocations: 317.3 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4221, allocations: 7.938 kB / 1.316 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4221, allocations: 8 kB / 1.316 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4221, allocations: 0 / 1.316 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.4223, allocations: 51.91 kB / 1.316 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4223, allocations: 0 / 1.316 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4225, allocations: 27.94 kB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.4225, allocations: 12 kB / 1.316 GB, free: 8.32 MB / 1.014 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.0002098/0.4227, allocations: 187.2 kB / 1.316 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.4228, allocations: 39.7 kB / 1.316 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/0.4234, allocations: 184.7 kB / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4234, allocations: 0 / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4234, allocations: 0 / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4234, allocations: 4 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4238, allocations: 272.6 kB / 1.317 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4238, allocations: 0 / 1.317 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.4239, allocations: 19.92 kB / 1.317 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.4239, allocations: 3.938 kB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4239, allocations: 0 / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4239, allocations: 4 kB / 1.317 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4239, allocations: 0 / 1.317 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.4244, allocations: 209.6 kB / 1.317 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.4244, allocations: 43.69 kB / 1.317 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.4245, allocations: 11.92 kB / 1.317 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.4246, allocations: 8 kB / 1.317 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.4247, allocations: 15.97 kB / 1.317 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4247, allocations: 7.938 kB / 1.317 GB, free: 7.258 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003778/0.4251, allocations: 323.1 kB / 1.318 GB, free: 6.945 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4251, allocations: 0 / 1.318 GB, free: 6.945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003019/0.4254, allocations: 51.94 kB / 1.318 GB, free: 6.895 MB / 1.014 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 (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.001678/0.427, allocations: 426.1 kB / 1.318 GB, free: 6.629 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.4275, allocations: 180.1 kB / 1.318 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4275, allocations: 4 kB / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.4276, allocations: 59.89 kB / 1.318 GB, free: 6.391 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.4281, allocations: 86.16 kB / 1.318 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.4291, allocations: 0.5462 MB / 1.319 GB, free: 5.738 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.4297, allocations: 0.7831 MB / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.4299, allocations: 54.95 kB / 1.32 GB, free: 4.879 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.4299, allocations: 35.42 kB / 1.32 GB, free: 4.844 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.4299, allocations: 0 / 1.32 GB, free: 4.844 MB / 1.014 GB Notification: Performance of Templates: time 0.00983/0.4398, allocations: 4.17 MB / 1.324 GB, free: 0.7109 MB / 1.014 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: 10.23344127368182]