Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001472/0.001472, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] 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.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.15 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.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7424, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00165/0.7441, allocations: 0.843 MB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.642e-05/0.7442, allocations: 44.56 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.7442, allocations: 1.469 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.7443, allocations: 10.98 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.7443, allocations: 5.516 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.7444, allocations: 20.14 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.7444, allocations: 63.23 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.7446, allocations: 32.03 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.7446, allocations: 25.67 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.7446, allocations: 34.08 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.7447, allocations: 6.25 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.7447, allocations: 6.375 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.7447, allocations: 16.03 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.7447, allocations: 33.84 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.7448, allocations: 75.47 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7448, allocations: 1.547 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7448, allocations: 0 / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7448, allocations: 0 / 1.273 GB, free: 6.945 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.0002973/0.7451, allocations: 380.1 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7452, allocations: 10.27 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.7452, allocations: 43.06 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.7452, allocations: 13.31 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.7454, allocations: 201 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.7454, allocations: 3.688 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.7454, allocations: 9.406 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.7455, allocations: 93.16 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7455, allocations: 7.938 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.7455, allocations: 0.8438 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7455, allocations: 1.875 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.7456, allocations: 39.84 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.746, allocations: 430.8 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.672e-05/0.746, allocations: 53.31 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.746, allocations: 15.69 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.746, allocations: 0.8438 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.7461, allocations: 36.75 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7461, allocations: 0 / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.7462, allocations: 61.16 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.7462, allocations: 77.89 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.7463, allocations: 159.2 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.7463, allocations: 30.39 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.7464, allocations: 106.1 kB / 1.274 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.7464, allocations: 9.938 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.7464, allocations: 16.91 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.7464, allocations: 322 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.7464, allocations: 7.312 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.7465, allocations: 18.38 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.7465, allocations: 22.16 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7465, allocations: 0.9375 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.586e-05/0.7466, allocations: 62.53 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.7466, allocations: 12.94 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.7466, allocations: 0.75 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7466, allocations: 1.344 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.7466, allocations: 5.281 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7466, allocations: 2.688 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.7467, allocations: 10.31 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.7467, allocations: 1.312 kB / 1.275 GB, free: 4.816 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 3.835e-05/0.7467, allocations: 117.6 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.7467, allocations: 16.5 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.7468, allocations: 16.88 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7468, allocations: 4.703 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.7468, allocations: 0.7188 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7468, allocations: 1.031 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.747, allocations: 470.6 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.747, allocations: 0 / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.747, allocations: 9.422 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.747, allocations: 4.969 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.747, allocations: 0.7812 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.747, allocations: 1.094 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.747, allocations: 1.062 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.175e-05/0.7471, allocations: 75.78 kB / 1.275 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.7471, allocations: 86.02 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.7471, allocations: 4.391 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.7471, allocations: 8.906 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-06/0.7472, allocations: 8.938 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.7472, allocations: 0.6875 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.7472, allocations: 119.6 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7472, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001768/0.7474, allocations: 7.469 kB / 1.276 GB, free: 3.891 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.0001929/0.7476, allocations: 0.6166 MB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.7477, allocations: 19.53 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7477, allocations: 0 / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.7477, allocations: 4.688 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.7478, allocations: 13.2 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.7487, allocations: 1.335 MB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.7489, allocations: 0.693 MB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.749, allocations: 10.06 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.749, allocations: 27.89 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.749, allocations: 1.062 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.7721, allocations: 1.561 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.884, allocations: 13.89 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.269918449994293]