Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001454/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0013/0.0013, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.655/2.655, allocations: 469.8 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.75 kB / 0.9082 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2712, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002024/0.2733, allocations: 0.8918 MB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001015/0.2734, allocations: 43.78 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.2734, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.2735, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.2735, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.618e-05/0.2736, allocations: 15.98 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.2737, allocations: 59.8 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2738, allocations: 51.95 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.2739, allocations: 19.88 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.274, allocations: 31.84 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.274, allocations: 4 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.274, allocations: 8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.274, allocations: 11.92 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.2741, allocations: 43.67 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.857e-05/0.2742, allocations: 72 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2742, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2742, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2742, allocations: 4 kB / 1.065 GB, free: 13.25 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004241/0.2746, allocations: 367.3 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2747, allocations: 12.03 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.2747, allocations: 34.75 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.2747, allocations: 20.73 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.275, allocations: 188.2 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.275, allocations: 12.38 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.275, allocations: 12.25 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2752, allocations: 95.94 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2752, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2752, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2752, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.2753, allocations: 39.91 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2758, allocations: 436.6 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.2759, allocations: 41.19 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.2759, allocations: 25.78 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.2759, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.276, allocations: 30.56 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.073e-06/0.276, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.2761, allocations: 61.47 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.2762, allocations: 77.11 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2764, allocations: 169.3 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2764, allocations: 29.7 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.2764, allocations: 100 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.2765, allocations: 7.906 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.2765, allocations: 13.72 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2766, allocations: 322.8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.2767, allocations: 8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.2767, allocations: 17.66 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.2767, allocations: 33.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2768, allocations: 4 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.956e-05/0.2768, allocations: 57.55 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2769, allocations: 7.938 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2769, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.2769, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.277, allocations: 11.98 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.277, allocations: 4.062 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.277, allocations: 7.844 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.277, allocations: 4 kB / 1.067 GB, free: 10.76 MB / 0.8262 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.81e-05/0.2771, allocations: 113.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2771, allocations: 11.84 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.2772, allocations: 7.875 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2772, allocations: 7.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2772, allocations: 3.984 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2772, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.2776, allocations: 474.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2776, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.2776, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2776, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2777, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2777, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2777, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.2778, allocations: 81.89 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.2778, allocations: 85.02 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2779, allocations: 4 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.2779, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.2779, allocations: 3.984 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2779, allocations: 7.938 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.004e-05/0.278, allocations: 122.1 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.278, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001768/0.2782, allocations: 4 kB / 1.068 GB, free: 9.727 MB / 0.8262 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.0004103/0.2786, allocations: 0.6208 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.2787, allocations: 23.97 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2787, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.2787, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2788, allocations: 5.094 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2801, allocations: 1.338 MB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2804, allocations: 0.6963 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.2804, allocations: 8.516 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.2805, allocations: 31.42 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2805, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/0.4088, allocations: 1.471 MB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.4092, allocations: 217.8 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.205, allocations: 1.125 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches