Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_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.009129/0.009129, allocations: 104 kB / 15.73 MB, free: 6.043 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.001741/0.001741, allocations: 189.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.442/2.442, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.613/3.613, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001643, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606/1.608, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.009761/1.618, allocations: 1.988 MB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004211/1.622, allocations: 1.194 MB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/1.623, allocations: 6.125 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009484/1.624, allocations: 164.6 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008958/1.625, allocations: 152.6 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/1.626, allocations: 225.5 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001056/1.627, allocations: 312.9 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/1.627, allocations: 47.41 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/1.628, allocations: 145.5 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/1.629, allocations: 144 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/1.629, allocations: 14.09 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/1.629, allocations: 63.61 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/1.629, allocations: 90.62 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/1.63, allocations: 119.7 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/1.631, allocations: 376.7 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.631, allocations: 0 / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.236e-06/1.631, allocations: 0 / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.631, allocations: 0.6562 kB / 1.092 GB, free: 2.262 MB / 0.8575 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.002144/1.633, allocations: 0.6176 MB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.258e-05/1.633, allocations: 9.125 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.904e-05/1.633, allocations: 39.95 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/1.634, allocations: 36.95 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009506/1.634, allocations: 374.5 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/1.635, allocations: 7.938 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/1.635, allocations: 10.33 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/1.635, allocations: 108.6 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.635, allocations: 4.625 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/1.635, allocations: 1.172 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/1.635, allocations: 6.328 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/1.636, allocations: 69.3 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/1.637, allocations: 495.9 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/1.638, allocations: 131.4 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/1.638, allocations: 55.48 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/1.638, allocations: 6.203 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/1.639, allocations: 109 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/1.639, allocations: 0.7188 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001086/1.64, allocations: 220.9 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.64, allocations: 57.73 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.641, allocations: 0.5091 MB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/1.641, allocations: 31.8 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/1.641, allocations: 163.7 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/1.642, allocations: 34.14 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.642, allocations: 74.02 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002711/1.642, allocations: 344.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.642, allocations: 101.6 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/1.643, allocations: 135.8 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/1.644, allocations: 188.8 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.644, allocations: 0 / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001367/1.645, allocations: 318 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.645, allocations: 9.125 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.645, allocations: 5.125 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/1.645, allocations: 2.688 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/1.646, allocations: 54.19 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.646, allocations: 1.094 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.646, allocations: 20.55 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/1.646, allocations: 10.25 kB / 1.097 GB, free: 15.47 MB / 0.8731 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.000463/1.647, allocations: 184.9 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.647, allocations: 34.81 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/1.647, allocations: 38.64 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.647, allocations: 2 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.647, allocations: 0 / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/1.647, allocations: 1.547 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/1.648, allocations: 299.7 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.648, allocations: 0 / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.648, allocations: 11.84 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.648, allocations: 12.94 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.648, allocations: 7.844 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.648, allocations: 5 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.648, allocations: 0.75 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/1.649, allocations: 199.5 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/1.649, allocations: 121 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/1.649, allocations: 7.219 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.65, allocations: 5.547 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.65, allocations: 20.47 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/1.65, allocations: 11.14 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008022/1.651, allocations: 314.1 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.11e-07/1.651, allocations: 0 / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006803/1.651, allocations: 53.64 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.003308/1.655, allocations: 1.075 MB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000892/1.656, allocations: 188.2 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.656, allocations: 0 / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/1.656, allocations: 66.86 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/1.657, allocations: 88.48 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/1.666, allocations: 3.109 MB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/1.666, allocations: 0.7893 MB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003618/1.667, allocations: 52.72 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/1.667, allocations: 111.8 kB / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of SimCode: time 1.663e-06/1.667, allocations: 0 / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/1.716, allocations: 7.149 MB / 1.11 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.53, allocations: 6.062 kB / 1.11 GB, free: 10.25 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches