Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_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.00883/0.00883, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.002013/0.002013, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3362, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003841/0.3401, allocations: 1.993 MB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3426, allocations: 1.197 MB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3428, allocations: 7.938 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3433, allocations: 151.5 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.3438, allocations: 159.3 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.3444, allocations: 225.4 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.345, allocations: 319.2 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3452, allocations: 40.39 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.3455, allocations: 151.4 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3458, allocations: 151.4 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.3459, allocations: 16 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3461, allocations: 55.97 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3462, allocations: 91.66 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3464, allocations: 131.1 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.3469, allocations: 367 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3469, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3469, allocations: 4 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.3469, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 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.001108/0.348, allocations: 0.6185 MB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.3481, allocations: 12.62 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.3482, allocations: 38.75 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.3482, allocations: 32.47 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.3488, allocations: 377.8 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3488, allocations: 11.92 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3489, allocations: 8 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3491, allocations: 107.3 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3491, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3492, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3492, allocations: 4 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3494, allocations: 59.86 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.3502, allocations: 0.4886 MB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3505, allocations: 138.7 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3506, allocations: 48.83 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3507, allocations: 7.938 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.3509, allocations: 111.3 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.3509, allocations: 4 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005288/0.3515, allocations: 228 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3515, allocations: 51.41 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.3521, allocations: 0.5055 MB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3521, allocations: 29.7 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3523, allocations: 164.3 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3523, allocations: 39.55 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3524, allocations: 73.95 kB / 1.215 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3526, allocations: 346.8 kB / 1.216 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3528, allocations: 100.5 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.353, allocations: 135.6 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3533, allocations: 184.2 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3533, allocations: 0 / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005455/0.3539, allocations: 317.1 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3539, allocations: 11.94 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3539, allocations: 3.984 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3539, allocations: 0 / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3542, allocations: 47.92 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3542, allocations: 7.969 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3544, allocations: 24 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3544, allocations: 15.98 kB / 1.216 GB, free: 0.5391 MB / 0.9669 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.0001831/0.3546, allocations: 177.8 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3547, allocations: 39.47 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.3547, allocations: 31.12 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3547, allocations: 4 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3548, allocations: 3.938 kB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3548, allocations: 0 / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3551, allocations: 309.4 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3551, allocations: 4 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.3551, allocations: 11.98 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3552, allocations: 3.938 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3552, allocations: 7.984 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3552, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3552, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.3556, allocations: 216.5 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3557, allocations: 116.7 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3558, allocations: 7.984 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.3559, allocations: 8 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.356, allocations: 19.97 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.356, allocations: 4 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003684/0.3564, allocations: 315.1 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3564, allocations: 0 / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003235/0.3567, allocations: 52 kB / 1.218 GB, free: 15.14 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 (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.00167/0.3584, allocations: 1.062 MB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3588, allocations: 194.3 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3588, allocations: 0 / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.359, allocations: 68.02 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3595, allocations: 80.17 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.3638, allocations: 3.113 MB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3642, allocations: 0.7908 MB / 1.223 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.3644, allocations: 54.95 kB / 1.223 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3646, allocations: 111.3 kB / 1.223 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3646, allocations: 0 / 1.223 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3899, allocations: 7.278 MB / 1.23 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.611, allocations: 7.984 kB / 1.23 GB, free: 2.555 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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