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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00841/0.00841, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.582/2.582, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3045, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003418/0.3079, allocations: 2.001 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.31, allocations: 1.201 MB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.3102, allocations: 0 / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.3107, allocations: 159.4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.3111, allocations: 159.4 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.3117, allocations: 226.2 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3121, allocations: 323.1 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3123, allocations: 44.38 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.3126, allocations: 151.4 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3128, allocations: 151.5 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.3128, allocations: 12 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.313, allocations: 63.84 kB / 1.171 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3131, allocations: 83.73 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3133, allocations: 123.2 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.3137, allocations: 370.4 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3137, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3137, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3137, allocations: 3.938 kB / 1.171 GB, free: 2.254 MB / 0.92 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.001004/0.3148, allocations: 0.6224 MB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3148, allocations: 8.031 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.3149, allocations: 46.67 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.3149, allocations: 32.56 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.3155, allocations: 377.8 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3155, allocations: 4 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3155, allocations: 15.94 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.3158, allocations: 101.6 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3158, allocations: 3.938 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3158, allocations: 11.98 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3158, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.316, allocations: 55.97 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3168, allocations: 0.4886 MB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.3171, allocations: 138.7 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3173, allocations: 48.83 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3173, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3175, allocations: 115.2 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.3175, allocations: 8 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005981/0.3181, allocations: 213.5 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.3182, allocations: 59.39 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.3187, allocations: 0.5015 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3188, allocations: 29.7 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3189, allocations: 172.3 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3189, allocations: 43.45 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.319, allocations: 73.88 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3192, allocations: 346.8 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.3194, allocations: 96.52 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3197, allocations: 139.5 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.32, allocations: 180 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.32, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005501/0.3206, allocations: 321.2 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3206, allocations: 7.938 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3206, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3206, allocations: 8 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3209, allocations: 47.91 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3209, allocations: 4 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.321, allocations: 15.97 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.3211, allocations: 15.98 kB / 1.175 GB, free: 13.71 MB / 0.9356 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.0001817/0.3212, allocations: 181.7 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3213, allocations: 39.47 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.3214, allocations: 35.12 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3214, allocations: 0 / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3214, allocations: 4 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3214, allocations: 3.984 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3217, allocations: 293.4 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3217, allocations: 7.938 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3218, allocations: 19.92 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.3218, allocations: 7.922 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3218, allocations: 4 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3218, allocations: 4 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3219, allocations: 0 / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3222, allocations: 207.7 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.3224, allocations: 124.5 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.3224, allocations: 8 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.3225, allocations: 4 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.3226, allocations: 19.97 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3226, allocations: 8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003338/0.3229, allocations: 315.1 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3229, allocations: 0 / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003051/0.3233, allocations: 52 kB / 1.177 GB, free: 12.31 MB / 0.9356 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.001543/0.3248, allocations: 1.059 MB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.3252, allocations: 199.8 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3252, allocations: 0 / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3254, allocations: 64.09 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.3259, allocations: 94.91 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.33, allocations: 3.105 MB / 1.181 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3304, allocations: 0.7831 MB / 1.182 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.3306, allocations: 58.94 kB / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3308, allocations: 107.4 kB / 1.182 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of SimCode: time 1.693e-06/0.3308, allocations: 0 / 1.182 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3553, allocations: 7.157 MB / 1.189 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.608, allocations: 14.67 kB / 1.189 GB, free: 15.84 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intEqu.u1,intEqu.u2,intEqu.y Variables in the result:intEqu.u1,intEqu.u2,intEqu.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time