Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_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.005121/0.005121, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001323/0.001323, allocations: 197 kB / 16.68 MB, free: 5.926 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 59.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7179, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001913/0.7199, allocations: 0.8291 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.809e-05/0.72, allocations: 44.77 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.72, allocations: 1.25 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.7201, allocations: 9.469 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.7202, allocations: 6.297 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.445e-05/0.7202, allocations: 16.3 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.7203, allocations: 72.03 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7204, allocations: 37.8 kB / 1.088 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.7205, allocations: 26.67 kB / 1.088 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.7206, allocations: 34.28 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.7206, allocations: 5.688 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.7206, allocations: 6.281 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.7206, allocations: 16.55 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.7206, allocations: 28.75 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.7208, allocations: 81.16 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7208, allocations: 0 / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7208, allocations: 0.7969 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7208, allocations: 0 / 1.089 GB, free: 4.496 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.0003218/0.7211, allocations: 381.8 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7212, allocations: 9.781 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.7212, allocations: 40.12 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.7212, allocations: 13 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.7214, allocations: 192.6 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7214, allocations: 7.344 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7214, allocations: 8.594 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.7216, allocations: 90.27 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7216, allocations: 7.938 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7216, allocations: 4.938 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.7216, allocations: 2.719 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.7217, allocations: 40.08 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.7221, allocations: 441.8 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.7221, allocations: 45.12 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.7222, allocations: 20.39 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.7222, allocations: 1.797 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.7222, allocations: 32.38 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7222, allocations: 0 / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.7224, allocations: 64.25 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.7224, allocations: 82.91 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7225, allocations: 158.6 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-06/0.7225, allocations: 26.22 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.7226, allocations: 107.6 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.7226, allocations: 6.156 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.7226, allocations: 13.8 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.7227, allocations: 320.2 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.7227, allocations: 12.22 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.7227, allocations: 20.11 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.7227, allocations: 23 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7227, allocations: 0 / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.143e-05/0.7228, allocations: 58.11 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7228, allocations: 9.375 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7228, allocations: 5.188 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7229, allocations: 1.156 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.7229, allocations: 13.59 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7229, allocations: 1.703 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.723, allocations: 5.594 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.723, allocations: 1.312 kB / 1.091 GB, free: 2.371 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.829e-05/0.723, allocations: 118.9 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.7231, allocations: 11.81 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.7231, allocations: 13.27 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7231, allocations: 1.188 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7231, allocations: 0 / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7231, allocations: 2.047 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.7234, allocations: 470.2 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7234, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.7234, allocations: 3.953 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7234, allocations: 5.312 kB / 1.091 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.7234, allocations: 5.219 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7235, allocations: 0.5156 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7235, allocations: 1.125 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.692e-05/0.7235, allocations: 81 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.7236, allocations: 89.67 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7236, allocations: 1.641 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.7236, allocations: 5.531 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.7236, allocations: 5.562 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.7236, allocations: 1.094 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.7237, allocations: 122.1 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7237, allocations: 0 / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001978/0.7239, allocations: 11.66 kB / 1.092 GB, free: 1.453 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.0002974/0.7242, allocations: 0.6159 MB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.7243, allocations: 19.33 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7243, allocations: 0 / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.7243, allocations: 9.328 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.7245, allocations: 11.44 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.7255, allocations: 1.325 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.7258, allocations: 0.6927 MB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.7258, allocations: 7 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.7258, allocations: 28.56 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.7258, allocations: 1.188 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.7426, allocations: 1.568 MB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.8, allocations: 22.77 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches