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.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.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.001229/0.001229, 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.001233/0.001233, allocations: 189.2 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.213/1.213, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.3/2.3, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4678, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001699/0.4695, allocations: 0.8878 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.955e-05/0.4696, allocations: 47.72 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.4696, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.4697, allocations: 3.938 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.4697, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.271e-05/0.4698, allocations: 19.98 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.4699, allocations: 63.78 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.47, allocations: 43.95 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.47, allocations: 23.88 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.4701, allocations: 27.84 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.4701, allocations: 8 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.4701, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.4701, allocations: 15.94 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.4702, allocations: 31.8 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.4703, allocations: 73.95 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4703, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4703, allocations: 4 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.4703, allocations: 3.938 kB / 1.018 GB, free: 1.555 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.0003223/0.4706, allocations: 383.1 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.4706, allocations: 8.031 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.4707, allocations: 42.75 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.4707, allocations: 8.844 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4708, allocations: 192.2 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.4709, allocations: 4.375 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4709, allocations: 12.36 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.471, allocations: 103.8 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.471, allocations: 3.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.471, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4711, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.4711, allocations: 39.92 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.4715, allocations: 440.6 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.4716, allocations: 37.31 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.4716, allocations: 17.72 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.4716, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.4716, allocations: 42.56 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4717, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.4718, allocations: 57.47 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4718, allocations: 77.11 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.472, allocations: 168.2 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.472, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.472, allocations: 108.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.472, allocations: 11.91 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.4721, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.4722, allocations: 318.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.4722, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.4722, allocations: 17.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.4722, allocations: 33.64 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4722, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.903e-05/0.4723, allocations: 61.55 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.4723, allocations: 9.5 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4723, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.4724, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.4724, allocations: 11.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.4724, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.4724, allocations: 7.906 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.4725, allocations: 0 / 1.02 GB, free: 15.06 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 5.695e-05/0.4725, allocations: 118.4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.4726, allocations: 11.84 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.4726, allocations: 11.88 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4726, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4726, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4726, allocations: 3.984 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.4729, allocations: 470.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4729, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.4729, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4729, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-06/0.473, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.473, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.473, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.473, allocations: 89.83 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.4731, allocations: 92.95 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.4731, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.4731, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.4731, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4731, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.108e-05/0.4732, allocations: 121.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.4732, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001719/0.4734, allocations: 4 kB / 1.021 GB, free: 14.02 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.0002581/0.4737, allocations: 0.6171 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.453e-05/0.4737, allocations: 19.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4737, allocations: 8.094 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.4738, allocations: 7.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.4739, allocations: 8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.4748, allocations: 1.346 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.475, allocations: 0.6924 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.475, allocations: 4.438 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.4751, allocations: 27.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4751, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.4891, allocations: 1.473 MB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.4893, allocations: 206 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.044, allocations: 4 kB / 1.026 GB, free: 9.527 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