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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003927/0.003927, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001224/0.001223, allocations: 193.6 kB / 16.67 MB, free: 5.961 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.405/2.405, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6164, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002904/0.6194, allocations: 1.987 MB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.6211, allocations: 1.209 MB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.6212, allocations: 4 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.6216, allocations: 159.4 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.6219, allocations: 155.4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.6223, allocations: 226.9 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.6226, allocations: 303.2 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.6228, allocations: 56.36 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.623, allocations: 139.4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.6232, allocations: 155.4 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.6232, allocations: 12 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.6233, allocations: 55.98 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.6234, allocations: 91.72 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.6236, allocations: 123.1 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.6239, allocations: 370.1 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.624, allocations: 4 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.624, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.624, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 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.000838/0.6248, allocations: 0.6376 MB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.6249, allocations: 8.031 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.6249, allocations: 42.75 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.625, allocations: 36.7 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.6254, allocations: 378.2 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.6255, allocations: 11.94 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6255, allocations: 11.98 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.6257, allocations: 109.5 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6257, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6257, allocations: 4 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6257, allocations: 3.984 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.6259, allocations: 59.95 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.6266, allocations: 496.4 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.6269, allocations: 134.8 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.6271, allocations: 52.83 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.6271, allocations: 11.92 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.6273, allocations: 111.7 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.6273, allocations: 0 / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005011/0.6278, allocations: 222.9 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6279, allocations: 55.41 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.6284, allocations: 0.5054 MB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.6284, allocations: 37.7 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.6286, allocations: 160.4 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.6286, allocations: 39.75 kB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.6287, allocations: 65.91 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6288, allocations: 350.8 kB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.629, allocations: 100.5 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.6293, allocations: 135.6 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.6296, allocations: 183 kB / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6296, allocations: 0 / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005128/0.6301, allocations: 321.3 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6301, allocations: 13.75 kB / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6301, allocations: 0 / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.6301, allocations: 8.062 kB / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6304, allocations: 43.97 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6304, allocations: 4 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.6305, allocations: 23.81 kB / 1.229 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.6305, allocations: 12 kB / 1.229 GB, free: 8.387 MB / 0.9512 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.0001625/0.6307, allocations: 188.8 kB / 1.229 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.6307, allocations: 35.7 kB / 1.23 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.6308, allocations: 35.12 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6308, allocations: 7.938 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.6308, allocations: 3.938 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6308, allocations: 4 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.6311, allocations: 309.4 kB / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6311, allocations: 0 / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.6312, allocations: 15.98 kB / 1.23 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6312, allocations: 3.938 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6312, allocations: 0 / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6312, allocations: 4 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6312, allocations: 0 / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6316, allocations: 214.5 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.6317, allocations: 112.9 kB / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.6317, allocations: 4 kB / 1.23 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.6318, allocations: 11.98 kB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.6319, allocations: 15.92 kB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6319, allocations: 11.98 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000319/0.6322, allocations: 311.1 kB / 1.231 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6322, allocations: 4 kB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002575/0.6325, allocations: 63.88 kB / 1.231 GB, free: 6.969 MB / 0.9512 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.001867/0.6344, allocations: 1.062 MB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.6347, allocations: 200 kB / 1.232 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6348, allocations: 0 / 1.232 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6349, allocations: 59.97 kB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.6353, allocations: 89 kB / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.6388, allocations: 3.117 MB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6392, allocations: 0.7792 MB / 1.236 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.6393, allocations: 50.95 kB / 1.236 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.6394, allocations: 111.4 kB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.6394, allocations: 0 / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.218/3.857, allocations: 7.163 MB / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/12.96, allocations: 6.078 kB / 1.243 GB, free: 10.51 MB / 0.9669 GB (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 --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) 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) Reference file matches