Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_10_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.001203/0.001203, 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.001243/0.001243, allocations: 192 kB / 16.25 MB, free: 6.637 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.297/2.297, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5053, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001816/0.5072, allocations: 0.8898 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.5073, allocations: 39.78 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.5073, allocations: 7.938 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.5074, allocations: 7.922 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.5075, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.215e-05/0.5075, allocations: 19.98 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.5076, allocations: 55.86 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.5077, allocations: 47.95 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.5078, allocations: 19.88 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.5079, allocations: 31.78 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.5079, allocations: 8 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-06/0.5079, allocations: 8 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.5079, allocations: 19.92 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.508, allocations: 35.73 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.963e-05/0.5081, allocations: 70.03 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5081, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5081, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5081, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 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.0003515/0.5084, allocations: 383.1 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5085, allocations: 8.031 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.5085, allocations: 38.75 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.5085, allocations: 12.84 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.5087, allocations: 196.1 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.5087, allocations: 8.375 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.5087, allocations: 4.375 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5089, allocations: 97.27 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5089, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5089, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5089, allocations: 7.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.509, allocations: 43.92 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.5094, allocations: 428.6 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.5095, allocations: 41.34 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.5095, allocations: 21.78 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.5096, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.5096, allocations: 34.56 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5096, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.5098, allocations: 57.47 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.5098, allocations: 81.36 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.5099, allocations: 168.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.5099, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.51, allocations: 107.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.51, allocations: 11.84 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.51, allocations: 17.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.5101, allocations: 318.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.5102, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.5102, allocations: 21.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.5102, allocations: 25.72 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5102, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.519e-05/0.5103, allocations: 61.53 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5103, allocations: 7.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5103, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.5103, allocations: 8.062 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.5104, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.5104, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.5104, allocations: 7.906 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.5105, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 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 6.38e-05/0.5105, allocations: 118.4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.5106, allocations: 15.78 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.5106, allocations: 11.88 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5106, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5106, allocations: 4 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5106, allocations: 96 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.5109, allocations: 474.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.511, allocations: 7.922 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.511, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.511, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.511, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.511, allocations: 8.062 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.511, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.5111, allocations: 73.84 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.5111, allocations: 96.94 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5112, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.5112, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.5112, allocations: 11.97 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.5112, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.312e-05/0.5113, allocations: 120.9 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5113, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001799/0.5115, allocations: 8 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.000294/0.5118, allocations: 0.6132 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.875e-05/0.5119, allocations: 23.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5119, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.5119, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.5121, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.513, allocations: 1.349 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.5132, allocations: 0.6963 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.5133, allocations: 4.438 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.5133, allocations: 27.42 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5133, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/0.6867, allocations: 1.475 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.687, allocations: 206.4 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.309, allocations: 0 / 1.026 GB, free: 9.445 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches