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.001224/0.001224, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.2 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2615, allocations: 159.2 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003483/0.265, allocations: 1.985 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2671, allocations: 1.208 MB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2673, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.2678, allocations: 159.4 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.2682, allocations: 155.4 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.2688, allocations: 227 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.2692, allocations: 315.2 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2694, allocations: 56.36 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.2697, allocations: 131.5 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2699, allocations: 147.4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.27, allocations: 16 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.2701, allocations: 63.91 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2702, allocations: 83.73 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2704, allocations: 131.1 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.2708, allocations: 359.1 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2708, allocations: 3.938 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2708, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.2708, allocations: 3.938 kB / 1.069 GB, free: 9.438 MB / 0.8262 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.0009846/0.2718, allocations: 0.6147 MB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2719, allocations: 8.031 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.2719, allocations: 50.67 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.272, allocations: 32.56 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.2725, allocations: 377.9 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2725, allocations: 11.98 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2726, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2728, allocations: 105.6 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.2728, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2728, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2729, allocations: 7.984 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.273, allocations: 63.89 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.2738, allocations: 0.4886 MB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.2741, allocations: 138.7 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2743, allocations: 52.83 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2743, allocations: 4 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.2745, allocations: 103.3 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.2745, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005174/0.275, allocations: 227.1 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.2751, allocations: 59.41 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.2757, allocations: 0.5054 MB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2757, allocations: 29.7 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2758, allocations: 172.4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.2759, allocations: 31.55 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.276, allocations: 77.86 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2762, allocations: 342.8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2764, allocations: 104.5 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2766, allocations: 135.6 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2769, allocations: 184.2 kB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2769, allocations: 0 / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005215/0.2775, allocations: 309.2 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2775, allocations: 21.48 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2775, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2775, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2777, allocations: 55.91 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2778, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2779, allocations: 15.84 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.2779, allocations: 11.98 kB / 1.073 GB, free: 4.898 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.0001643/0.2781, allocations: 189.6 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.2782, allocations: 43.47 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.2783, allocations: 39.12 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2783, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2783, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2783, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.2785, allocations: 297.4 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2786, allocations: 0 / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.2786, allocations: 11.98 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/0.2786, allocations: 7.938 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2787, allocations: 0 / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2787, allocations: 0 / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2787, allocations: 11.88 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.279, allocations: 202.6 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.2791, allocations: 112.7 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.2792, allocations: 11.92 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.2793, allocations: 4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.2794, allocations: 23.97 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2794, allocations: 8 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003222/0.2797, allocations: 319.1 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2797, allocations: 4 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002994/0.28, allocations: 51.91 kB / 1.074 GB, free: 3.496 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.2816, allocations: 1.071 MB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.282, allocations: 195.8 kB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.282, allocations: 0 / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2822, allocations: 59.97 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.2827, allocations: 92.78 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.2866, allocations: 3.133 MB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.2871, allocations: 0.7869 MB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.2873, allocations: 58.94 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2874, allocations: 107.4 kB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.2875, allocations: 0 / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.3123, allocations: 7.046 MB / 1.086 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.521, allocations: 12 kB / 1.086 GB, free: 7.086 MB / 0.8419 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