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.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.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.001967/0.001967, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.553/2.553, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6116, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002224/0.6139, allocations: 0.8229 MB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.6141, allocations: 39.8 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.6141, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.6142, allocations: 7.875 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.6143, allocations: 23.84 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.885e-05/0.6144, allocations: 15.98 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6145, allocations: 63.84 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.6146, allocations: 39.97 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.6147, allocations: 31.8 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.6148, allocations: 27.86 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.6148, allocations: 4 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.6148, allocations: 8 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.6148, allocations: 15.92 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.6149, allocations: 27.81 kB / 1.019 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.615, allocations: 73.95 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.615, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.954e-06/0.615, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6151, allocations: 4 kB / 1.019 GB, free: 1.273 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.0004445/0.6155, allocations: 383.1 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6156, allocations: 12.03 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.6156, allocations: 38.73 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.6156, allocations: 8.844 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.6158, allocations: 192.2 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6159, allocations: 12.38 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.6159, allocations: 8.375 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.616, allocations: 91.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6161, allocations: 11.88 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6161, allocations: 7.984 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6161, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.6162, allocations: 31.98 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.6167, allocations: 440.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.478e-05/0.6168, allocations: 37.09 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.6169, allocations: 21.84 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.6169, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6169, allocations: 42.48 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6169, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.6171, allocations: 53.55 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.6172, allocations: 85.05 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.6173, allocations: 166.1 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.6173, allocations: 25.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.6174, allocations: 108 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.6174, allocations: 4.156 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.6175, allocations: 17.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.6176, allocations: 326.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6176, allocations: 8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.6176, allocations: 17.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.6177, allocations: 25.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6177, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.484e-05/0.6178, allocations: 53.55 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6178, allocations: 11.94 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6178, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6178, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.6179, allocations: 15.98 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6179, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.6179, allocations: 7.844 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.6179, allocations: 4 kB / 1.021 GB, free: 14.77 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.473e-05/0.618, allocations: 117.9 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6181, allocations: 11.84 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.6181, allocations: 7.859 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6181, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6181, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6181, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.6185, allocations: 474.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6185, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.6185, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6185, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.6185, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6185, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6185, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.102e-05/0.6186, allocations: 93.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.6187, allocations: 84.95 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.6187, allocations: 8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.6187, allocations: 3.984 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.6187, allocations: 96 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6188, allocations: 3.984 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.6188, allocations: 122.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6188, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001956/0.619, allocations: 12 kB / 1.022 GB, free: 13.73 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.0003323/0.6194, allocations: 0.6171 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.6195, allocations: 19.94 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6195, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.6195, allocations: 12.16 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.6197, allocations: 5.719 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.6208, allocations: 1.322 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.621, allocations: 0.6924 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.6211, allocations: 8.422 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.6211, allocations: 23.44 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6212, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.6375, allocations: 1.542 MB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.896, allocations: 7.953 kB / 1.026 GB, free: 9.398 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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