Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8845/0.8861, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003845/0.89, allocations: 2.005 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.8921, allocations: 1.197 MB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.8923, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.8928, allocations: 171.4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.8932, allocations: 151.4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.8938, allocations: 223.3 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.8942, allocations: 315.2 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.8944, allocations: 48.38 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.8946, allocations: 143.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.8948, allocations: 147.4 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.8949, allocations: 16 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.8951, allocations: 55.91 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.8952, allocations: 87.73 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.8953, allocations: 127.1 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.8958, allocations: 360.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8958, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8958, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.8958, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 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.001032/0.8968, allocations: 0.6224 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8969, allocations: 8.031 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.897, allocations: 36.47 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.8975, allocations: 378.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.8976, allocations: 7.984 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.8976, allocations: 8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.8979, allocations: 105.5 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.8979, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.8979, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.8979, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.8981, allocations: 63.89 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.8989, allocations: 496.4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.8993, allocations: 142.7 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.8994, allocations: 48.83 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.8994, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.8997, allocations: 107.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.8997, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000544/0.9002, allocations: 231 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.9003, allocations: 59.41 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.9009, allocations: 0.5092 MB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.9009, allocations: 29.7 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.901, allocations: 164.4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.9011, allocations: 35.55 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.9012, allocations: 69.95 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9013, allocations: 350.8 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.9015, allocations: 104.5 kB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.9017, allocations: 135.6 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.9021, allocations: 176 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.9021, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000508/0.9026, allocations: 329.1 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9026, allocations: 7.984 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9026, allocations: 3.938 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.9026, allocations: 4 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.9029, allocations: 47.91 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.9029, allocations: 4 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.903, allocations: 15.84 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.9031, allocations: 15.98 kB / 1.026 GB, free: 9.152 MB / 0.7794 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.0001907/0.9033, allocations: 193.8 kB / 1.027 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.9033, allocations: 31.62 kB / 1.027 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.9034, allocations: 43 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9034, allocations: 0 / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9034, allocations: 0 / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9034, allocations: 0 / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.9037, allocations: 301.4 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9037, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.9038, allocations: 15.98 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9038, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.9038, allocations: 11.94 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.9038, allocations: 0 / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9038, allocations: 7.938 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.9042, allocations: 204.7 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.9043, allocations: 104.7 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.9044, allocations: 15.92 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.9045, allocations: 0 / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.9046, allocations: 27.97 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.9046, allocations: 8 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003105/0.9049, allocations: 319.1 kB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9049, allocations: 0 / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002911/0.9052, allocations: 55.94 kB / 1.028 GB, free: 7.75 MB / 0.7794 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.00108/0.9063, allocations: 422.3 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.9067, allocations: 195.9 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9068, allocations: 0 / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.9069, allocations: 63.91 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.9074, allocations: 94.39 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.9083, allocations: 0.532 MB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.9087, allocations: 0.7909 MB / 1.03 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.9088, allocations: 50.95 kB / 1.03 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.9089, allocations: 35.42 kB / 1.03 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.9089, allocations: 4 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.009278/0.9182, allocations: 4.056 MB / 1.034 GB, free: 1.68 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches