Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_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.001073/0.001073, 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.001109/0.001109, allocations: 192.1 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 469.4 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.64 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2532, allocations: 159.2 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002171/0.2554, allocations: 0.6969 MB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.2563, allocations: 0.8369 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.2564, allocations: 4 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.2564, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.2565, allocations: 3.938 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.2567, allocations: 31.91 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.2567, allocations: 43.86 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2569, allocations: 15.98 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.2569, allocations: 19.97 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.257, allocations: 23.86 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.257, allocations: 8 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.257, allocations: 8 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2571, allocations: 7.984 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.2571, allocations: 27.84 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.2572, allocations: 35.88 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2572, allocations: 3.984 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2572, allocations: 0 / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2572, allocations: 0 / 1.065 GB, free: 12.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000437/0.2577, allocations: 349.2 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2577, allocations: 16.03 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.2578, allocations: 34.73 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2578, allocations: 8.938 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2579, allocations: 172.2 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2579, allocations: 4.375 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2579, allocations: 4.312 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2581, allocations: 69.59 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.2582, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2582, allocations: 4 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2582, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.2584, allocations: 55.92 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.2588, allocations: 288.7 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.259, allocations: 70.53 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2591, allocations: 36.91 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2591, allocations: 0 / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2592, allocations: 30.56 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2592, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004034/0.2596, allocations: 117.5 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.2596, allocations: 55.39 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.2597, allocations: 101.9 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2597, allocations: 29.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.2597, allocations: 88.12 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2598, allocations: 7.812 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.2598, allocations: 17.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.2599, allocations: 326.7 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.26, allocations: 27.98 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.2601, allocations: 23.97 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2603, allocations: 56.81 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2603, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000235/0.2606, allocations: 85.58 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2606, allocations: 8 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2606, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.2606, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2607, allocations: 15.98 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2607, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.2608, allocations: 11.98 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2608, allocations: 0 / 1.067 GB, free: 10.36 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: 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 6.774e-05/0.2609, allocations: 115.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.2609, allocations: 7.906 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.261, allocations: 7.906 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.261, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.261, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.261, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2611, allocations: 177.6 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2611, allocations: 256 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.2612, allocations: 19.98 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2613, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.2613, allocations: 7.875 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2613, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2613, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2616, allocations: 183.8 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.2616, allocations: 92.94 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2616, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.2617, allocations: 4.047 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.2618, allocations: 19.97 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2618, allocations: 0 / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.2618, allocations: 87.27 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2618, allocations: 0 / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002191/0.2621, allocations: 11.94 kB / 1.068 GB, free: 9.539 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: 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.0005166/0.2626, allocations: 0.7168 MB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2629, allocations: 63.88 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2629, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.263, allocations: 35.91 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2633, allocations: 1.562 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2647, allocations: 1.315 MB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2649, allocations: 0.6807 MB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.265, allocations: 7.984 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.265, allocations: 19.44 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2651, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.2815, allocations: 1.796 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.14, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches