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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 192.7 kB / 16.14 MB, free: 6.645 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 69.34 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2571, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003431/0.2605, allocations: 2.064 MB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2624, allocations: 1.177 MB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.2626, allocations: 4 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.2631, allocations: 151.6 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.2634, allocations: 139.5 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.264, allocations: 209.1 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.2643, allocations: 283.2 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2645, allocations: 52.36 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2647, allocations: 131.3 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.2649, allocations: 139.4 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.265, allocations: 8 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.2651, allocations: 59.89 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.2652, allocations: 83.73 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2653, allocations: 111.2 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2657, allocations: 355 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2657, allocations: 7.922 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2657, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2657, allocations: 0 / 1.057 GB, free: 3.297 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.0009317/0.2667, allocations: 0.6069 MB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2667, allocations: 15.97 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.2668, allocations: 42.67 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.2669, allocations: 36.56 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.2673, allocations: 377.9 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2673, allocations: 8 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.2674, allocations: 8 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2676, allocations: 109.6 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2676, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2677, allocations: 3.938 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2677, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2678, allocations: 67.89 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2686, allocations: 0.4925 MB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.2689, allocations: 138.7 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.269, allocations: 52.83 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2691, allocations: 4 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2693, allocations: 107.3 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2693, allocations: 0 / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.000527/0.2698, allocations: 229.3 kB / 1.059 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2699, allocations: 51.41 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.2705, allocations: 0.5054 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2705, allocations: 29.7 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2707, allocations: 168.4 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2708, allocations: 39.53 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.2709, allocations: 73.88 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2711, allocations: 346.8 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2713, allocations: 104.5 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2715, allocations: 127.6 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.2718, allocations: 180 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2719, allocations: 0 / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000548/0.2724, allocations: 321.2 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2724, allocations: 9.188 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2725, allocations: 4 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2725, allocations: 0 / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.2727, allocations: 55.91 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2727, allocations: 0 / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2729, allocations: 23.83 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2729, allocations: 8 kB / 1.061 GB, free: 14.75 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.0001921/0.2731, allocations: 185.8 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2732, allocations: 35.56 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.2733, allocations: 35.12 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2733, allocations: 7.984 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2733, allocations: 0 / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2733, allocations: 0 / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.2736, allocations: 301.3 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2736, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.675e-05/0.2736, allocations: 11.98 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2737, allocations: 7.938 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2737, allocations: 11.92 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2737, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2737, allocations: 3.938 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.2741, allocations: 206.8 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2742, allocations: 116.7 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.2743, allocations: 11.94 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.2744, allocations: 11.98 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.2745, allocations: 15.98 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2745, allocations: 7.984 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003329/0.2748, allocations: 311.1 kB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003074/0.2751, allocations: 59.89 kB / 1.063 GB, free: 13.35 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.001584/0.2767, allocations: 1.055 MB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.2771, allocations: 188.4 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2771, allocations: 0 / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.2773, allocations: 59.91 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2777, allocations: 85.59 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.2814, allocations: 3.179 MB / 1.067 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2817, allocations: 0.787 MB / 1.068 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.2818, allocations: 50.94 kB / 1.068 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.282, allocations: 103.4 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.282, allocations: 4 kB / 1.068 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5201/0.8021, allocations: 6.749 MB / 1.074 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8024, allocations: 250.4 kB / 1.075 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.627, allocations: 4.062 kB / 1.075 GB, free: 1.004 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