Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.007748/0.007748, allocations: 97.69 kB / 15.73 MB, free: 5.996 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.002151/0.002151, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001898/0.2741, allocations: 0.8233 MB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001091/0.2742, allocations: 39.84 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.2742, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.2743, allocations: 11.86 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.2743, allocations: 7.875 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.357e-05/0.2744, allocations: 19.98 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2745, allocations: 59.84 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2746, allocations: 55.83 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.2747, allocations: 27.81 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.2748, allocations: 27.84 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2748, allocations: 8 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.2748, allocations: 8 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.2748, allocations: 19.92 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.2749, allocations: 35.8 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.275, allocations: 71.53 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.275, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.275, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.275, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004149/0.2754, allocations: 379.1 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2755, allocations: 8.031 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2755, allocations: 46.75 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2756, allocations: 12.84 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2758, allocations: 200.2 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2758, allocations: 4.375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2758, allocations: 12.31 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.276, allocations: 91.86 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.276, allocations: 3.938 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.276, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.276, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.2761, allocations: 39.92 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.2766, allocations: 432.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.2767, allocations: 41.19 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.2767, allocations: 17.84 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.2767, allocations: 4 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2768, allocations: 34.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2768, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/0.2769, allocations: 57.52 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.277, allocations: 81.36 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2772, allocations: 164.6 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2772, allocations: 29.7 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2772, allocations: 100.1 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.2773, allocations: 3.953 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2773, allocations: 21.67 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2774, allocations: 318.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.2775, allocations: 4 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.2775, allocations: 29.66 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.2775, allocations: 29.64 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2775, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.057e-05/0.2776, allocations: 57.59 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2777, allocations: 13.66 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2777, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.2777, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.2777, allocations: 12.05 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2778, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.2778, allocations: 7.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.2778, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.859e-05/0.2779, allocations: 113.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2779, allocations: 11.89 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.278, allocations: 11.88 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.278, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.278, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.278, allocations: 11.98 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.2784, allocations: 474.6 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.2784, allocations: 0 / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2785, allocations: 3.938 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2785, allocations: 4.047 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.423e-05/0.2786, allocations: 81.88 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.2786, allocations: 85.06 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2786, allocations: 0 / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.2787, allocations: 4 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.2787, allocations: 8.078 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.2787, allocations: 8.016 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.189e-05/0.2788, allocations: 117.1 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2788, allocations: 0 / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001923/0.279, allocations: 11.98 kB / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003872/0.2794, allocations: 0.6176 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.243e-05/0.2795, allocations: 19.92 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2795, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.2795, allocations: 4 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2796, allocations: 11.94 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2808, allocations: 1.335 MB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2811, allocations: 0.6929 MB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.2812, allocations: 8.422 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.2812, allocations: 27.42 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2812, allocations: 0 / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.3045, allocations: 1.575 MB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.975, allocations: 15.88 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches