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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008196/0.0008195, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.005198/0.005199, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.285/2.285, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5087, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0008422/0.5096, allocations: 0.5471 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 8.82e-05/0.5097, allocations: 35.84 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.5097, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.5098, allocations: 3.938 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.5098, allocations: 7.922 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.779e-05/0.5099, allocations: 16 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.51, allocations: 59.78 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.5101, allocations: 39.97 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.5101, allocations: 19.86 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.5102, allocations: 15.88 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.5102, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.214e-06/0.5102, allocations: 8 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.5102, allocations: 11.91 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.5103, allocations: 57.45 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.322e-05/0.5104, allocations: 58.02 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5104, allocations: 3.984 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5104, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5104, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 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.0003142/0.5107, allocations: 375.1 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5107, allocations: 8.031 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.5108, allocations: 42.75 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.5108, allocations: 8.844 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.511, allocations: 192.2 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.511, allocations: 12.31 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.511, allocations: 4.375 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5111, allocations: 97.92 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5112, allocations: 3.938 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.5112, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5112, allocations: 8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.5113, allocations: 35.92 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.5117, allocations: 436.6 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.5117, allocations: 37.22 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.5118, allocations: 21.81 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.5118, allocations: 7.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.5118, allocations: 30.56 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5118, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.512, allocations: 57.72 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.512, allocations: 85.11 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.5121, allocations: 159.9 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5122, allocations: 29.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.5122, allocations: 104 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.5122, allocations: 7.906 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.5122, allocations: 9.719 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.5123, allocations: 322.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.5124, allocations: 8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.5124, allocations: 17.72 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.5124, allocations: 25.66 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5124, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.332e-05/0.5125, allocations: 61.53 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.5125, allocations: 11.94 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.5125, allocations: 64 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.5125, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.5126, allocations: 8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5126, allocations: 3.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.5126, allocations: 3.906 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.5127, allocations: 4 kB / 1.026 GB, free: 12.51 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.296e-05/0.5127, allocations: 114.4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.5128, allocations: 11.84 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5128, allocations: 11.81 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5128, allocations: 8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5128, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5128, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.5131, allocations: 474.7 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5131, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.5132, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5132, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5132, allocations: 8 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.5132, allocations: 4.062 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5132, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.023e-05/0.5133, allocations: 85.77 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.5133, allocations: 84.95 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5133, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.5134, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-06/0.5134, allocations: 8.125 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.5134, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.164e-05/0.5135, allocations: 125.6 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5135, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001829/0.5137, allocations: 8 kB / 1.027 GB, free: 11.46 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.0002844/0.5139, allocations: 0.6286 MB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.514, allocations: 15.98 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.514, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.514, allocations: 7.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.5142, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.5151, allocations: 1.342 MB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.5153, allocations: 0.7004 MB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.5154, allocations: 4.438 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.5154, allocations: 23.42 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5154, allocations: 0 / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.483/1.999, allocations: 1.348 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.999, allocations: 216.6 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/4.186, allocations: 0 / 1.031 GB, free: 7.094 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