Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001422/0.001422, allocations: 108 kB / 15.61 MB, free: 152 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.001578/0.001578, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.601/2.601, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.52 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001908/0.2633, allocations: 0.6653 MB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.2643, allocations: 0.8508 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.2643, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.2644, allocations: 4 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.2644, allocations: 3.938 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.2646, allocations: 4 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.2646, allocations: 27.92 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.2647, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.2648, allocations: 15.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.2648, allocations: 15.97 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2649, allocations: 8 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.2649, allocations: 3.938 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2649, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.2649, allocations: 11.94 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.782e-05/0.265, allocations: 15.97 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.265, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.265, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.265, allocations: 0 / 1.065 GB, free: 12.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003926/0.2654, allocations: 335.8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2655, allocations: 16.03 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.2655, allocations: 30.75 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.2655, allocations: 8.828 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2656, allocations: 168.3 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2657, allocations: 4.375 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.2657, allocations: 384 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2658, allocations: 50.23 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2659, allocations: 3.938 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2659, allocations: 3.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2659, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.266, allocations: 31.97 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.2663, allocations: 245 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2665, allocations: 42.44 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.2666, allocations: 20.91 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2666, allocations: 4 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2666, allocations: 34.55 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2666, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003358/0.267, allocations: 81.66 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.267, allocations: 63.36 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.2671, allocations: 101.8 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2671, allocations: 25.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2672, allocations: 84.12 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2672, allocations: 15.84 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2672, allocations: 13.7 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2673, allocations: 314.8 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.2674, allocations: 23.98 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.2675, allocations: 11.98 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2677, allocations: 40.81 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2677, allocations: 3.938 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.2679, allocations: 73.67 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2679, allocations: 9.547 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2679, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2679, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.268, allocations: 8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.268, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.2681, allocations: 7.984 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2681, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.645e-05/0.2682, allocations: 115.6 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.2682, allocations: 4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.2682, allocations: 7.125 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2682, allocations: 3.984 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2682, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2683, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2684, allocations: 157.6 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2684, allocations: 3.938 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.2685, allocations: 11.98 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2685, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2685, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2685, allocations: 4 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2685, allocations: 0 / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.2687, allocations: 163.4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.2688, allocations: 81.02 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2688, allocations: 8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.2689, allocations: 12.02 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.2689, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2689, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.269, allocations: 79.28 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.269, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002199/0.2692, allocations: 4 kB / 1.068 GB, free: 10.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005309/0.2697, allocations: 0.705 MB / 1.068 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.27, allocations: 39.97 kB / 1.068 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.27, allocations: 0 / 1.068 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.2701, allocations: 28 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2704, allocations: 0 / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.2709, allocations: 140.9 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2712, allocations: 0.6768 MB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.2712, allocations: 0 / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.2713, allocations: 7.438 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2713, allocations: 3.938 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.2878, allocations: 1.255 MB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.24, allocations: 8.234 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches