Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.1 kB / 16.25 MB, free: 6.637 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 69.2 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2607, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001597/0.2623, allocations: 0.842 MB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.2632, allocations: 0.8741 MB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.2632, allocations: 4 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.2633, allocations: 3.938 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.2633, allocations: 3.938 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2635, allocations: 39.89 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.2636, allocations: 79.83 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2637, allocations: 27.98 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.2638, allocations: 35.84 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.2639, allocations: 47.81 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2639, allocations: 8 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.2639, allocations: 8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.264, allocations: 23.92 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.264, allocations: 47.78 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2641, allocations: 79.72 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2641, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2641, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2641, allocations: 0 / 1.054 GB, free: 6.512 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005582/0.2647, allocations: 395.5 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2648, allocations: 8.625 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.2648, allocations: 38.75 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2648, allocations: 12.84 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.265, allocations: 180.2 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.265, allocations: 8.375 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.265, allocations: 4.375 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2653, allocations: 104.5 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2653, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2653, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2653, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.2657, allocations: 107.8 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.2662, allocations: 340.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.2667, allocations: 118.5 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2669, allocations: 60.88 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2669, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.267, allocations: 38.55 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.267, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005588/0.2675, allocations: 177.7 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.2676, allocations: 51.41 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.2676, allocations: 137.6 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2677, allocations: 29.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.2677, allocations: 99.92 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2677, allocations: 23.78 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.2678, allocations: 21.7 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.2679, allocations: 318.8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.268, allocations: 43.95 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.2682, allocations: 52.02 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.2685, allocations: 96.77 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2685, allocations: 3.938 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003674/0.2689, allocations: 137.5 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2689, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2689, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.269, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2691, allocations: 27.91 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2691, allocations: 7.984 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2692, allocations: 11.92 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2693, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.928e-05/0.2693, allocations: 117.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.2694, allocations: 7.906 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2694, allocations: 12.36 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2694, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2694, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2694, allocations: 3.938 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2696, allocations: 201.5 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2696, allocations: 3.984 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2698, allocations: 27.97 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2698, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2698, allocations: 0 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2698, allocations: 4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2698, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.2702, allocations: 235.2 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2702, allocations: 92.94 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2703, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2704, allocations: 11.98 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.2705, allocations: 27.91 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.2705, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.2705, allocations: 95.7 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2705, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002157/0.2708, allocations: 16 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006381/0.2714, allocations: 0.7769 MB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.2718, allocations: 107.9 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2718, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.272, allocations: 63.88 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.2722, allocations: 12.64 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.274, allocations: 1.549 MB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.2742, allocations: 0.6885 MB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.944e-05/0.2742, allocations: 12 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.2743, allocations: 35.41 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2743, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3802/0.6546, allocations: 2.421 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.6548, allocations: 211.2 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/3.049, allocations: 4 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches