Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_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.001526/0.001526, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001885/0.001885, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.56/1.56, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.611/4.611, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 70.38 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4243, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003101/0.4275, allocations: 0.888 MB / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.4277, allocations: 43.78 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.4277, allocations: 0 / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.4278, allocations: 3.938 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4279, allocations: 3.938 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.428, allocations: 23.92 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.4282, allocations: 55.86 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.4284, allocations: 51.95 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.4285, allocations: 23.86 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.4286, allocations: 39.84 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.4286, allocations: 4 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.4286, allocations: 8 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.4287, allocations: 11.88 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.4287, allocations: 43.73 kB / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.4289, allocations: 67.98 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4289, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4289, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.4289, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 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.0006165/0.4296, allocations: 375.3 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4296, allocations: 16.62 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.4297, allocations: 34.75 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.4298, allocations: 8.844 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.43, allocations: 196.1 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4301, allocations: 12.28 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4301, allocations: 8.312 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4303, allocations: 89.05 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4304, allocations: 3.938 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.4304, allocations: 12 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4304, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.4305, allocations: 35.92 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.4313, allocations: 440.5 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.4314, allocations: 45.28 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.4315, allocations: 21.84 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4315, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4316, allocations: 34.55 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.4316, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.4318, allocations: 65.47 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.4319, allocations: 77.11 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4322, allocations: 162.2 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4322, allocations: 25.7 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.4323, allocations: 104 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.4323, allocations: 7.906 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.4324, allocations: 13.72 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4325, allocations: 327.1 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.4326, allocations: 15.88 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.4326, allocations: 13.72 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.4327, allocations: 29.7 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4327, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001486/0.4329, allocations: 53.55 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4329, allocations: 17.56 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4329, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.433, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4331, allocations: 7.984 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4331, allocations: 4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.4332, allocations: 7.844 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4332, allocations: 4 kB / 1.056 GB, free: 4.91 MB / 0.8106 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 0.0001248/0.4333, allocations: 113.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.4334, allocations: 11.84 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.4335, allocations: 11.88 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4335, allocations: 3.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4335, allocations: 4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4335, allocations: 3.984 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.4341, allocations: 470.8 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4342, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.4342, allocations: 7.938 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4342, allocations: 4.062 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4342, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4343, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4343, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4344, allocations: 81.83 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.4345, allocations: 85.02 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4345, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.4346, allocations: 4.031 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.4346, allocations: 3.984 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.4346, allocations: 4 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001447/0.4348, allocations: 118.1 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4348, allocations: 3.938 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003717/0.4352, allocations: 8 kB / 1.057 GB, free: 3.875 MB / 0.8106 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.0005632/0.4358, allocations: 0.6171 MB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.4359, allocations: 19.92 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4359, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.4359, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4363, allocations: 8.281 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.4381, allocations: 1.346 MB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4384, allocations: 0.7002 MB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.4385, allocations: 4.438 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.4386, allocations: 27.42 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.4386, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3153/0.7539, allocations: 1.469 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004028/0.7544, allocations: 217 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/4.359, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches