Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_10_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.007763/0.007763, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001703/0.001703, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.723/2.723, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.14 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2637, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001983/0.2657, allocations: 0.6633 MB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2668, allocations: 0.8589 MB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.2668, allocations: 0 / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2669, allocations: 0 / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2669, allocations: 3.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.2671, allocations: 11.94 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.2672, allocations: 23.92 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.2673, allocations: 11.97 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.2673, allocations: 8 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.2674, allocations: 11.92 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2674, allocations: 8 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-06/0.2674, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2674, allocations: 4 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2675, allocations: 7.938 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.592e-05/0.2676, allocations: 19.91 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2676, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2676, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2676, allocations: 0 / 1.168 GB, free: 5.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000451/0.268, allocations: 343.7 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.2681, allocations: 12.03 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2681, allocations: 34.73 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.2682, allocations: 4.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2683, allocations: 172.3 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2683, allocations: 4.375 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.2683, allocations: 384 / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2685, allocations: 50.23 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2685, allocations: 3.938 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2685, allocations: 0 / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2686, allocations: 7.938 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2687, allocations: 35.95 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.2691, allocations: 241 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2693, allocations: 42.44 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.2694, allocations: 28.89 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2694, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2694, allocations: 30.56 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2694, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.2698, allocations: 81.64 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2698, allocations: 55.47 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.2699, allocations: 105.8 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.27, allocations: 29.7 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.27, allocations: 80.14 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.27, allocations: 11.94 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2701, allocations: 13.72 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2702, allocations: 310.8 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.2703, allocations: 15.98 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.2704, allocations: 23.97 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2705, allocations: 32.83 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2706, allocations: 3.938 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.2708, allocations: 81.48 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2708, allocations: 8.094 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.2708, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2708, allocations: 4 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.2709, allocations: 4 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2709, allocations: 3.984 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.271, allocations: 4 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.271, allocations: 0 / 1.17 GB, free: 3.508 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: 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 7.174e-05/0.2711, allocations: 113.8 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2711, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2711, allocations: 15.11 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2711, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2711, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2711, allocations: 4 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2713, allocations: 157.6 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2713, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.2714, allocations: 11.98 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2714, allocations: 0 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2714, allocations: 4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2714, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2714, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2717, allocations: 163.4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.2718, allocations: 85 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2718, allocations: 4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.2719, allocations: 7.984 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2719, allocations: 4.031 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2719, allocations: 4 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.272, allocations: 79.27 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002189/0.2722, allocations: 7.938 kB / 1.17 GB, free: 2.762 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: 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.0005506/0.2727, allocations: 0.7007 MB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.273, allocations: 35.97 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.273, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.2731, allocations: 19.97 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.2733, allocations: 8.156 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.2737, allocations: 131.1 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.274, allocations: 0.6806 MB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.274, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2741, allocations: 11.44 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.2741, allocations: 3.938 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.2895, allocations: 1.268 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.755, allocations: 0.7031 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches