Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.004486/0.004486, allocations: 97.66 kB / 15.73 MB, free: 6.008 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.001088/0.001088, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2725, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002139/0.2746, allocations: 0.7004 MB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2757, allocations: 0.8432 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.2758, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.2758, allocations: 3.938 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.2759, allocations: 7.938 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.2761, allocations: 23.95 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.818e-05/0.2762, allocations: 43.91 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2763, allocations: 16 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.2763, allocations: 23.92 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.957e-05/0.2764, allocations: 27.89 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2764, allocations: 4 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2765, allocations: 4 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2765, allocations: 7.984 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.2765, allocations: 19.88 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2766, allocations: 60 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2766, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2766, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2767, allocations: 0 / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005132/0.2772, allocations: 355.3 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2772, allocations: 8.031 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.2773, allocations: 34.75 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2773, allocations: 4.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2775, allocations: 168.3 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2775, allocations: 4.375 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2775, allocations: 16 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2777, allocations: 73.58 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2778, allocations: 0 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2778, allocations: 0 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2778, allocations: 4 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.278, allocations: 51.95 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.2785, allocations: 296.7 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2787, allocations: 70.47 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2788, allocations: 28.92 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2789, allocations: 3.984 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2789, allocations: 34.56 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.2789, allocations: 0 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004255/0.2793, allocations: 109.6 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2794, allocations: 55.41 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.2795, allocations: 105.8 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2795, allocations: 29.7 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.2795, allocations: 84.08 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2795, allocations: 15.91 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2796, allocations: 17.7 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.2797, allocations: 322.8 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2798, allocations: 23.97 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2799, allocations: 19.98 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2801, allocations: 60.81 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2801, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002388/0.2804, allocations: 85.64 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2804, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2804, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2804, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2805, allocations: 19.92 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2806, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.2806, allocations: 11.98 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2807, allocations: 3.938 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.961e-05/0.2807, allocations: 113.8 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.2808, allocations: 7.891 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.2808, allocations: 7.891 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2808, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2808, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2808, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.281, allocations: 173.6 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.281, allocations: 4 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.2811, allocations: 19.97 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2811, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2811, allocations: 3.938 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2812, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2812, allocations: 256 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2815, allocations: 195.7 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.2815, allocations: 81.06 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2815, allocations: 4 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.2816, allocations: 7.984 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.2817, allocations: 11.98 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2817, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.2818, allocations: 91.22 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2818, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002467/0.282, allocations: 7.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000633/0.2827, allocations: 0.7202 MB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.2829, allocations: 55.95 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.283, allocations: 4 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2831, allocations: 31.97 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2834, allocations: 8 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2848, allocations: 1.315 MB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2851, allocations: 0.6768 MB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.2851, allocations: 8 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.2852, allocations: 19.42 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2852, allocations: 0 / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3028, allocations: 1.828 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.775, allocations: 11.89 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches