Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0009696/0.0009694, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000989/0.000989, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.427/2.427, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.5672, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001901/0.5692, allocations: 0.8899 MB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001023/0.5693, allocations: 39.78 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.5693, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.5694, allocations: 3.938 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.5695, allocations: 7.938 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.114e-05/0.5695, allocations: 19.98 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.5696, allocations: 59.75 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5697, allocations: 43.95 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.5698, allocations: 23.81 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.5698, allocations: 27.84 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.5698, allocations: 4 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.5698, allocations: 7.938 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.5699, allocations: 15.92 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.5699, allocations: 27.75 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.834e-05/0.57, allocations: 74.02 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.57, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.61e-07/0.57, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.57, allocations: 4 kB / 1.018 GB, free: 1.523 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.000362/0.5704, allocations: 375.3 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5704, allocations: 12.03 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.5705, allocations: 38.73 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.5705, allocations: 12.84 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.5707, allocations: 196 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5707, allocations: 12.38 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.5707, allocations: 4.375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.5709, allocations: 97.2 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5709, allocations: 7.938 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.5709, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5709, allocations: 3.984 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.571, allocations: 35.97 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.5714, allocations: 440.5 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.5715, allocations: 37.16 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.5715, allocations: 21.84 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.5715, allocations: 4 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5716, allocations: 38.58 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5716, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.5717, allocations: 57.53 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.5718, allocations: 77.11 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5719, allocations: 164.5 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5719, allocations: 29.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.572, allocations: 104 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.617e-06/0.572, allocations: 7.906 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.572, allocations: 13.72 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.5721, allocations: 322.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.5722, allocations: 8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.5722, allocations: 13.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.5722, allocations: 37.64 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5722, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.08e-05/0.5723, allocations: 49.61 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5723, allocations: 11.94 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5723, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.5724, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.5724, allocations: 11.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5724, allocations: 8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.5725, allocations: 7.906 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.5725, allocations: 4 kB / 1.02 GB, free: 15.02 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.5725, allocations: 114.4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.5726, allocations: 15.78 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.5726, allocations: 7.859 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5726, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5726, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5726, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.573, allocations: 474.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.573, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.573, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.573, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.573, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.573, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5731, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.343e-05/0.5731, allocations: 85.83 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.5732, allocations: 88.95 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.5732, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.5732, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.5732, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5732, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.5733, allocations: 125.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5733, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001791/0.5735, allocations: 8 kB / 1.021 GB, free: 13.99 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.0003106/0.5738, allocations: 0.617 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.5739, allocations: 20.03 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5739, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.5739, allocations: 8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.5741, allocations: 9.828 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.5752, allocations: 1.345 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.5754, allocations: 0.6926 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.5754, allocations: 12.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.5755, allocations: 23.44 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5755, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00973/0.5852, allocations: 1.426 MB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.5854, allocations: 207.2 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.05, allocations: 3.625 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches