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.001897/0.001897, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002638/0.002638, allocations: 217.6 kB / 22.26 MB, free: 5.113 MB / 14.72 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 66.31 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004105/0.3382, allocations: 2.053 MB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.341, allocations: 1.371 MB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3412, allocations: 11.88 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3417, allocations: 155.4 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006234/0.3424, allocations: 211.2 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.3428, allocations: 167.5 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.3434, allocations: 343.1 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.3435, allocations: 36.38 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.3439, allocations: 159.4 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3442, allocations: 167.3 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.3442, allocations: 16 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3444, allocations: 59.95 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3446, allocations: 95.61 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.3447, allocations: 123.2 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.3453, allocations: 394.3 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3453, allocations: 4 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3453, allocations: 0 / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.3453, allocations: 0 / 1.289 GB, free: 6.383 MB / 0.9825 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.001311/0.3466, allocations: 0.5663 MB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3467, allocations: 8.031 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.3467, allocations: 42.73 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3468, allocations: 36.7 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.3475, allocations: 324.2 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3475, allocations: 12 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3475, allocations: 8 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3478, allocations: 109.5 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3478, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3478, allocations: 7.938 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3478, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.348, allocations: 59.95 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.3489, allocations: 479.5 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3493, allocations: 126.7 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3494, allocations: 40.84 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3494, allocations: 4 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.3497, allocations: 119.3 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.3497, allocations: 0 / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005705/0.3503, allocations: 226.6 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3503, allocations: 55.41 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.351, allocations: 0.5211 MB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.351, allocations: 29.7 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.3511, allocations: 180.4 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.3512, allocations: 43.72 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3513, allocations: 69.92 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3515, allocations: 350.8 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3517, allocations: 100.5 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.352, allocations: 131.6 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3523, allocations: 188.2 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3523, allocations: 3.938 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005966/0.3529, allocations: 333.2 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3529, allocations: 7.938 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3529, allocations: 0 / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.353, allocations: 4.062 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3532, allocations: 55.91 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3532, allocations: 4 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3534, allocations: 15.94 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3534, allocations: 12 kB / 1.293 GB, free: 1.957 MB / 0.9825 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.0001999/0.3536, allocations: 181.8 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3536, allocations: 39.7 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.3541, allocations: 196.7 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3541, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3541, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3541, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3544, allocations: 272.6 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3544, allocations: 0 / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.3545, allocations: 15.92 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3545, allocations: 3.938 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3545, allocations: 11.98 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3545, allocations: 0 / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3545, allocations: 0 / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.3549, allocations: 212.1 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.355, allocations: 47.69 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.355, allocations: 8 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.3551, allocations: 0 / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.3552, allocations: 19.97 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3552, allocations: 11.98 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004141/0.3556, allocations: 327.1 kB / 1.294 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3556, allocations: 0 / 1.294 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003094/0.3559, allocations: 55.94 kB / 1.294 GB, free: 0.5156 MB / 0.9825 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.002239/0.3582, allocations: 1.069 MB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.3586, allocations: 187.8 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3586, allocations: 0 / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3588, allocations: 51.97 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3593, allocations: 97 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.3636, allocations: 3.189 MB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.364, allocations: 0.7909 MB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.3642, allocations: 54.94 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.3644, allocations: 115.4 kB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.3644, allocations: 0 / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.4044, allocations: 7.555 MB / 1.307 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.88, allocations: 2.062 kB / 1.307 GB, free: 3.551 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.727357321884483]