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.005805/0.005805, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001403/0.001403, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.709, allocations: 140.4 MB / 1.087 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001724/0.7108, allocations: 0.8245 MB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.76e-05/0.7109, allocations: 41.73 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.7109, allocations: 1.75 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.711, allocations: 9.609 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.711, allocations: 9.188 kB / 1.088 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.406e-05/0.7111, allocations: 20.25 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.7112, allocations: 59.02 kB / 1.088 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.7113, allocations: 41.84 kB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.7114, allocations: 25.31 kB / 1.088 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.7114, allocations: 38.25 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.7115, allocations: 7.156 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.7115, allocations: 5.875 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7115, allocations: 13.08 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.7115, allocations: 36.36 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.7116, allocations: 78.38 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7116, allocations: 0 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7116, allocations: 0 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7117, allocations: 1 kB / 1.089 GB, free: 4.484 MB / 0.8575 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.0003049/0.712, allocations: 380.8 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.712, allocations: 9.375 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.712, allocations: 38.75 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.7121, allocations: 14.22 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7122, allocations: 192.6 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.7122, allocations: 10.94 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.7123, allocations: 5.844 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.7124, allocations: 94.34 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7124, allocations: 3.938 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.7124, allocations: 5.75 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7124, allocations: 2.875 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.7125, allocations: 30.66 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.7129, allocations: 438.5 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.713, allocations: 46.12 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.713, allocations: 23.94 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.713, allocations: 5.688 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.713, allocations: 36.14 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.713, allocations: 0 / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.7132, allocations: 57.11 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.7132, allocations: 78.17 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7133, allocations: 158.6 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.7134, allocations: 30.77 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.7134, allocations: 103.3 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.7134, allocations: 13.61 kB / 1.09 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.7134, allocations: 13.67 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.7135, allocations: 320.1 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.7135, allocations: 8.484 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.7135, allocations: 20.41 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.7136, allocations: 34.23 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7136, allocations: 1.062 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.279e-05/0.7137, allocations: 53.47 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7137, allocations: 13.7 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.7137, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7137, allocations: 1.156 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.7138, allocations: 6.5 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7138, allocations: 1.125 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.7138, allocations: 14.12 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.7138, allocations: 1.906 kB / 1.091 GB, free: 2.355 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 4.502e-05/0.7139, allocations: 117 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.7139, allocations: 12.19 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.7139, allocations: 8.141 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.7139, allocations: 1.062 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7139, allocations: 1.125 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.714, allocations: 1.656 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.7142, allocations: 473.7 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.7142, allocations: 5.734 kB / 1.091 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.7143, allocations: 3.25 kB / 1.091 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7143, allocations: 0.6562 kB / 1.091 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.7143, allocations: 4.969 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.7143, allocations: 1.031 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7143, allocations: 1.797 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.87e-05/0.7144, allocations: 83.91 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.7144, allocations: 94.47 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.7144, allocations: 1.781 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.7144, allocations: 0.5625 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.7145, allocations: 2.703 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.7145, allocations: 0.9375 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.7145, allocations: 124.5 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7145, allocations: 0.8125 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000194/0.7147, allocations: 6.531 kB / 1.092 GB, free: 1.441 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.0003011/0.7151, allocations: 0.6195 MB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.7151, allocations: 16.34 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7151, allocations: 0 / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.7152, allocations: 13.05 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.7153, allocations: 7.812 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.7163, allocations: 1.33 MB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.7166, allocations: 0.6962 MB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.7166, allocations: 6.203 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.7166, allocations: 26.17 kB / 1.094 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7166, allocations: 0 / 1.094 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.7317, allocations: 1.571 MB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.756, allocations: 11.84 kB / 1.096 GB, free: 14.48 MB / 0.8731 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