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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008332/0.008332, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001991/0.001992, allocations: 194.3 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 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.688/2.688, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.08 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003257/0.2765, allocations: 2.007 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2785, allocations: 1.196 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2787, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.2791, allocations: 163.3 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.2795, allocations: 159.4 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.2801, allocations: 226.8 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000369/0.2804, allocations: 311.2 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2806, allocations: 44.38 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2808, allocations: 159.4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.281, allocations: 151.4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2811, allocations: 16 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2812, allocations: 55.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2813, allocations: 87.72 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2815, allocations: 127.1 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.2819, allocations: 366.4 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2819, allocations: 0 / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2819, allocations: 0 / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2819, allocations: 0 / 1.225 GB, free: 9.625 MB / 0.9825 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.0009525/0.2829, allocations: 0.6377 MB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2829, allocations: 16.03 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.283, allocations: 34.75 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.283, allocations: 36.7 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2836, allocations: 382 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2836, allocations: 4 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2836, allocations: 12 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2839, allocations: 107.3 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2839, allocations: 4 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2839, allocations: 8 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2839, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.2841, allocations: 59.95 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.2849, allocations: 496.4 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.2852, allocations: 142.7 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2854, allocations: 44.84 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2854, allocations: 7.969 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.2856, allocations: 119.2 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.2856, allocations: 0 / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005283/0.2862, allocations: 227.9 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.2862, allocations: 51.41 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.2868, allocations: 0.5093 MB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2868, allocations: 29.7 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2869, allocations: 156.5 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.287, allocations: 47.62 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2871, allocations: 69.91 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2872, allocations: 350.8 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.2874, allocations: 96.52 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2877, allocations: 135.6 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.288, allocations: 183 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2881, allocations: 0 / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005768/0.2886, allocations: 329.2 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2887, allocations: 7.938 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.2887, allocations: 8 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2887, allocations: 0 / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.289, allocations: 47.97 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.289, allocations: 3.938 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2891, allocations: 23.88 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.2892, allocations: 15.94 kB / 1.229 GB, free: 5.043 MB / 0.9825 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.0002088/0.2894, allocations: 186.3 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.2895, allocations: 39.7 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.2895, allocations: 31.12 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2896, allocations: 7.938 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2896, allocations: 0 / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2896, allocations: 0 / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2899, allocations: 297.4 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2899, allocations: 4 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.2899, allocations: 12 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.29, allocations: 11.92 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.29, allocations: 4 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.29, allocations: 0 / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.29, allocations: 0 / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.2904, allocations: 212.8 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2905, allocations: 108.9 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.2906, allocations: 8 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2907, allocations: 15.92 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.2908, allocations: 19.98 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.2908, allocations: 7.984 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003677/0.2912, allocations: 311.1 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4e-07/0.2912, allocations: 0 / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003253/0.2915, allocations: 63.88 kB / 1.23 GB, free: 3.637 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.001579/0.2931, allocations: 1.072 MB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.2935, allocations: 191.8 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2935, allocations: 0 / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2937, allocations: 59.91 kB / 1.231 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.2942, allocations: 98.84 kB / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.2981, allocations: 3.125 MB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.2985, allocations: 0.7908 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.2987, allocations: 54.95 kB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2988, allocations: 107.4 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.2989, allocations: 0 / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3228, allocations: 7.138 MB / 1.243 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.194, allocations: 8.234 kB / 1.243 GB, free: 7.172 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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