Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.0008632/0.0008632, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005062/0.005062, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4958, allocations: 142.4 MB / 0.9552 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0007536/0.4966, allocations: 0.5349 MB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.611e-05/0.4967, allocations: 44.78 kB / 0.9557 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.4967, allocations: 1.062 kB / 0.9557 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.4968, allocations: 3.938 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.4969, allocations: 4.844 kB / 0.9558 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.673e-05/0.4969, allocations: 19.92 kB / 0.9558 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.392e-05/0.497, allocations: 50.69 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4971, allocations: 42.28 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.4971, allocations: 17.66 kB / 0.9559 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.4972, allocations: 24.52 kB / 0.9559 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4972, allocations: 1.219 kB / 0.9559 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-06/0.4972, allocations: 2.375 kB / 0.9559 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4972, allocations: 10.2 kB / 0.9559 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.4973, allocations: 53.95 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.4973, allocations: 66.56 kB / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4973, allocations: 1.281 kB / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4974, allocations: 0 / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.4974, allocations: 0 / 0.956 GB, free: 6.855 MB / 0.7169 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.0002518/0.4976, allocations: 369.9 kB / 0.9564 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.4977, allocations: 8.844 kB / 0.9564 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.4977, allocations: 37.06 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.4977, allocations: 14.28 kB / 0.9564 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4978, allocations: 198.5 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4979, allocations: 6.656 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4979, allocations: 5.625 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.498, allocations: 93.98 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.498, allocations: 5.062 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.498, allocations: 1.094 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.498, allocations: 2.406 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.4981, allocations: 35.02 kB / 0.9568 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4985, allocations: 446.5 kB / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.4985, allocations: 37.38 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.4985, allocations: 27.03 kB / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.4986, allocations: 0 / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.4986, allocations: 37.16 kB / 0.9573 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4986, allocations: 0 / 0.9573 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001289/0.4987, allocations: 58.38 kB / 0.9573 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.4987, allocations: 78.8 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.4988, allocations: 167.1 kB / 0.9576 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.4989, allocations: 27.17 kB / 0.9576 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.4989, allocations: 103.5 kB / 0.9577 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.4989, allocations: 12.89 kB / 0.9577 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4989, allocations: 11.09 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.499, allocations: 317.3 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.499, allocations: 6.453 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.499, allocations: 26.58 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.499, allocations: 26.47 kB / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.499, allocations: 1.531 kB / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.428e-05/0.4991, allocations: 58.38 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4991, allocations: 10.84 kB / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.4991, allocations: 0 / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.4992, allocations: 1.125 kB / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.4992, allocations: 12.97 kB / 0.9582 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4992, allocations: 1.125 kB / 0.9582 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.4992, allocations: 6.688 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.4993, allocations: 1.469 kB / 0.9582 GB, free: 4.645 MB / 0.7169 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.19e-05/0.4993, allocations: 113 kB / 0.9583 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.4993, allocations: 15.55 kB / 0.9583 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.4994, allocations: 10.97 kB / 0.9583 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4994, allocations: 0.9375 kB / 0.9583 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4994, allocations: 0.9688 kB / 0.9583 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.4994, allocations: 4 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.4996, allocations: 471.1 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4996, allocations: 0 / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.4997, allocations: 3.156 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4997, allocations: 1.219 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.4997, allocations: 5.172 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4997, allocations: 0 / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4997, allocations: 5.031 kB / 0.9588 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.231e-05/0.4997, allocations: 82.09 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.4998, allocations: 92.81 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.4998, allocations: 0 / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.4998, allocations: 0.9688 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.4998, allocations: 5.438 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.4998, allocations: 8.844 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.4999, allocations: 124.4 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4999, allocations: 0 / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001725/0.5001, allocations: 6.406 kB / 0.9591 GB, free: 3.691 MB / 0.7169 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.000186/0.5003, allocations: 0.6204 MB / 0.9597 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.959e-05/0.5003, allocations: 14.22 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5003, allocations: 0 / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.5003, allocations: 12.08 kB / 0.9597 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.5005, allocations: 6.719 kB / 0.9597 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.5012, allocations: 1.341 MB / 0.961 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.042e-05/0.5013, allocations: 0.693 MB / 0.9617 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.5014, allocations: 10.7 kB / 0.9617 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.5014, allocations: 27.2 kB / 0.9617 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5014, allocations: 1.562 kB / 0.9618 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9105/1.412, allocations: 1.365 MB / 0.9631 GB, free: 432 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/1.412, allocations: 211.2 kB / 0.9633 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/3.136, allocations: 0 / 0.9633 GB, free: 168 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches