Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8189, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001849/0.8208, allocations: 0.8458 MB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.8209, allocations: 46.09 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.8209, allocations: 0.875 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.821, allocations: 9.516 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.821, allocations: 10.67 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.159e-05/0.8211, allocations: 20.03 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.8212, allocations: 63.27 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.8213, allocations: 32.06 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.8214, allocations: 26.83 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.8215, allocations: 30.38 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.8215, allocations: 5.594 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.8215, allocations: 6.188 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.8215, allocations: 21.11 kB / 1.272 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.8215, allocations: 32.83 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.8217, allocations: 68.73 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8217, allocations: 4 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8217, allocations: 0.9688 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8217, allocations: 0 / 1.273 GB, free: 6.941 MB / 0.9981 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.0003749/0.8221, allocations: 376.5 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8221, allocations: 10.33 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.8221, allocations: 46.58 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.8222, allocations: 17.5 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.8224, allocations: 201 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.8224, allocations: 7 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.8224, allocations: 9.312 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.8225, allocations: 90.47 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8225, allocations: 4.75 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8226, allocations: 4.812 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8226, allocations: 2.469 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.8226, allocations: 35.91 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.8231, allocations: 442 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.8231, allocations: 38.05 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.8232, allocations: 16.05 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.8232, allocations: 4.031 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.8232, allocations: 40.97 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.8232, allocations: 0 / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.8233, allocations: 57.2 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.8234, allocations: 77.86 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.8235, allocations: 159.2 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.8235, allocations: 30.36 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.8235, allocations: 108.5 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/0.8235, allocations: 5.484 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.8236, allocations: 17.77 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.8236, allocations: 320.6 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.8236, allocations: 3.625 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.8236, allocations: 26.19 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.8237, allocations: 30.22 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8237, allocations: 0.9375 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.015e-05/0.8238, allocations: 60.61 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8238, allocations: 11.5 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8238, allocations: 0.9062 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8238, allocations: 0.7812 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.8238, allocations: 13.97 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8238, allocations: 0.9688 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.8239, allocations: 6.844 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.8239, allocations: 4.906 kB / 1.275 GB, free: 4.797 MB / 0.9981 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.386e-05/0.8239, allocations: 116.5 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.824, allocations: 16.06 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.824, allocations: 13.31 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.824, allocations: 0 / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.824, allocations: 1.031 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.824, allocations: 0.875 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.8242, allocations: 474.5 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8242, allocations: 0.8438 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.8243, allocations: 4.656 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.8243, allocations: 0 / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.8243, allocations: 0.8438 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8243, allocations: 3.016 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8243, allocations: 0.8438 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.125e-05/0.8243, allocations: 87.31 kB / 1.275 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.8244, allocations: 87.19 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.8244, allocations: 1.625 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.8244, allocations: 0.9688 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.8244, allocations: 1.891 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.8244, allocations: 1.062 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.8245, allocations: 125.5 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8245, allocations: 0 / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001763/0.8246, allocations: 11.72 kB / 1.276 GB, free: 3.883 MB / 0.9981 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.0002303/0.8249, allocations: 0.6177 MB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.825, allocations: 22.06 kB / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.825, allocations: 0 / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.825, allocations: 8.094 kB / 1.276 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.8251, allocations: 10.62 kB / 1.276 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.8261, allocations: 1.325 MB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.8263, allocations: 0.6969 MB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.8264, allocations: 6.359 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.8264, allocations: 25.78 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.8264, allocations: 7.875 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.8489, allocations: 1.557 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/7.735, allocations: 12.52 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.10806567200052]