Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_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.00645/0.00645, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001556/0.001556, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.36 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2278, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001818/0.2296, allocations: 0.8165 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.2298, allocations: 43.84 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.2298, allocations: 4 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2299, allocations: 7.875 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.2299, allocations: 11.86 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-05/0.23, allocations: 19.98 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.2301, allocations: 59.84 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2302, allocations: 39.97 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.2303, allocations: 31.8 kB / 1.089 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.2303, allocations: 23.86 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2304, allocations: 7.938 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.2304, allocations: 8 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.2304, allocations: 19.97 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2304, allocations: 39.73 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2306, allocations: 75.81 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2306, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2306, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2306, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 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.0003657/0.231, allocations: 383 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.231, allocations: 12.02 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.231, allocations: 42.75 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2311, allocations: 8.891 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.2312, allocations: 196.2 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2313, allocations: 8.312 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2313, allocations: 12.38 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2314, allocations: 89.83 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2315, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2315, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2315, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.2316, allocations: 39.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.232, allocations: 432.8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.2321, allocations: 45.23 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.2321, allocations: 13.78 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.2321, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2322, allocations: 38.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2322, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.2323, allocations: 57.52 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2324, allocations: 81.05 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2325, allocations: 159.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2325, allocations: 29.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.2326, allocations: 100 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.2326, allocations: 15.88 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2326, allocations: 17.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.2327, allocations: 314.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2328, allocations: 7.984 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.2328, allocations: 21.66 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.2328, allocations: 29.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2328, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.36e-05/0.2329, allocations: 65.58 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2329, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.233, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.233, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.233, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.233, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.2331, allocations: 12.11 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.2331, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 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.818e-05/0.2332, allocations: 113.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.2332, allocations: 19.86 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.2333, allocations: 15.81 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2333, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2333, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2333, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.2336, allocations: 474.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2336, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.2337, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2337, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2337, allocations: 7.922 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2337, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2337, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.415e-05/0.2338, allocations: 81.95 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.2338, allocations: 89.05 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2339, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.2339, allocations: 3.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.2339, allocations: 8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.2339, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.234, allocations: 120.9 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.234, allocations: 4.031 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002001/0.2342, allocations: 15.89 kB / 1.092 GB, free: 13.24 MB / 0.8575 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.0003202/0.2345, allocations: 0.6132 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.2346, allocations: 23.97 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2346, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.2346, allocations: 7.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.2348, allocations: 8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2359, allocations: 1.33 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2361, allocations: 0.6967 MB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.2361, allocations: 8.422 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.2362, allocations: 23.44 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2362, allocations: 0 / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.2513, allocations: 1.574 MB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.243, allocations: 7.922 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches