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.001653/0.001653, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001793/0.001793, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.81 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003395/0.3129, allocations: 2.072 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3147, allocations: 1.177 MB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3149, allocations: 3.938 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.3153, allocations: 155.6 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.3157, allocations: 139.5 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3161, allocations: 202.8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.3165, allocations: 307.2 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3167, allocations: 52.36 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3169, allocations: 147.4 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3171, allocations: 155.4 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.3171, allocations: 12 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3172, allocations: 59.97 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.3174, allocations: 91.72 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3175, allocations: 127.1 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.3179, allocations: 363 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3179, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3179, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.318, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 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.000963/0.3189, allocations: 0.6263 MB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.319, allocations: 8.625 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.319, allocations: 38.75 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.3191, allocations: 36.56 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.3196, allocations: 374 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3196, allocations: 8 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3196, allocations: 8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3199, allocations: 111.1 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3199, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3199, allocations: 4 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3199, allocations: 7.984 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3201, allocations: 55.95 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.3209, allocations: 0.4925 MB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3212, allocations: 138.8 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3214, allocations: 44.84 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3214, allocations: 0 / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.3216, allocations: 119.2 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/0.3217, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005615/0.3222, allocations: 232.8 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3223, allocations: 55.41 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.3228, allocations: 0.5054 MB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3228, allocations: 29.7 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.323, allocations: 164.4 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.323, allocations: 35.55 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3231, allocations: 69.88 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3233, allocations: 350.8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.3235, allocations: 104.5 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3237, allocations: 131.6 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.324, allocations: 175 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.324, allocations: 0 / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004963/0.3245, allocations: 321.2 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3245, allocations: 7.938 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3245, allocations: 0 / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3246, allocations: 4 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.3248, allocations: 51.91 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3248, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3249, allocations: 19.83 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.325, allocations: 12 kB / 1.062 GB, free: 15.02 MB / 0.8262 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.0001738/0.3251, allocations: 181.8 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.3252, allocations: 39.55 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.3253, allocations: 39.12 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3253, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3253, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3253, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3256, allocations: 305.3 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.3256, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.3257, allocations: 19.88 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3257, allocations: 3.938 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3257, allocations: 11.98 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3257, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3257, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3261, allocations: 200.7 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.3262, allocations: 108.7 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3262, allocations: 11.94 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.3263, allocations: 3.984 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3264, allocations: 23.98 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3264, allocations: 7.984 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003235/0.3267, allocations: 323.1 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3268, allocations: 3.938 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002972/0.3271, allocations: 59.89 kB / 1.063 GB, free: 13.61 MB / 0.8262 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.001546/0.3286, allocations: 1.055 MB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.329, allocations: 203.8 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.329, allocations: 0 / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3292, allocations: 59.84 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3297, allocations: 92.58 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.3336, allocations: 3.184 MB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.334, allocations: 0.787 MB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.3341, allocations: 50.95 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3343, allocations: 107.4 kB / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.3343, allocations: 0 / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.796/2.13, allocations: 6.922 MB / 1.075 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/2.13, allocations: 251.5 kB / 1.075 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/5.145, allocations: 0 / 1.075 GB, free: 1.086 MB / 0.8262 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) Reference file matches