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.001088/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001104/0.001104, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.41/2.41, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5487, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002088/0.5508, allocations: 0.8937 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001241/0.551, allocations: 35.8 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.551, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.5511, allocations: 7.922 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.5512, allocations: 11.92 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.41e-05/0.5513, allocations: 12 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.5514, allocations: 67.75 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.5515, allocations: 31.97 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.5516, allocations: 31.8 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.5516, allocations: 27.86 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.5517, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.5517, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.5517, allocations: 11.92 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.5517, allocations: 31.81 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.5518, allocations: 77.88 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5519, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5519, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5519, allocations: 0 / 1.018 GB, free: 1.574 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.0004436/0.5523, allocations: 379.3 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5524, allocations: 8.031 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.5524, allocations: 42.73 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.5525, allocations: 8.844 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.5527, allocations: 200.1 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.5527, allocations: 384 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.5527, allocations: 12.38 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5529, allocations: 90.36 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5529, allocations: 7.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5529, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5529, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.553, allocations: 43.86 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.5535, allocations: 432.5 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.5536, allocations: 45.33 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.5536, allocations: 17.78 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.5536, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5537, allocations: 34.56 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.5537, allocations: 4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.5539, allocations: 57.48 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.5539, allocations: 85.03 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5541, allocations: 155.9 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.5541, allocations: 25.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.5542, allocations: 112 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-06/0.5542, allocations: 3.906 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.5542, allocations: 21.95 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.5543, allocations: 314.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.5543, allocations: 11.98 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.5544, allocations: 17.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.5544, allocations: 25.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5544, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.772e-05/0.5545, allocations: 65.53 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5545, allocations: 7.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5545, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5546, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.5546, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.5546, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.5547, allocations: 11.84 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.5547, allocations: 0 / 1.02 GB, free: 15.09 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 7.229e-05/0.5548, allocations: 118.3 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.5548, allocations: 16 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.5548, allocations: 15.84 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5548, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5549, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5549, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.5552, allocations: 470.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5552, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.5553, allocations: 12 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5553, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5553, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5553, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5553, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.383e-05/0.5554, allocations: 77.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.5554, allocations: 92.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5554, allocations: 7.969 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.5555, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.5555, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.5555, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.5556, allocations: 121.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5556, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001814/0.5558, allocations: 12 kB / 1.021 GB, free: 14.04 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.0003209/0.5561, allocations: 0.6093 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.06e-05/0.5562, allocations: 19.94 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5562, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.5562, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.5564, allocations: 13.81 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5574, allocations: 1.344 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5577, allocations: 0.6926 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.5577, allocations: 8.422 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.5578, allocations: 23.44 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5578, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.5795, allocations: 1.428 MB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.5797, allocations: 210.8 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.122, allocations: 3.938 kB / 1.025 GB, free: 9.574 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