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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007712/0.0007712, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9109/0.9109, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.482e-06/1.482e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.16e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001402/0.001423, allocations: 0.7946 MB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.956e-05/0.001523, allocations: 39.78 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.001568, allocations: 4 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.001603, allocations: 11.86 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.001676, allocations: 11.86 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.982e-05/0.001715, allocations: 19.98 kB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.001805, allocations: 63.84 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.00192, allocations: 23.98 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.002001, allocations: 43.83 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.00204, allocations: 19.91 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.002063, allocations: 8 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.00207, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.002088, allocations: 19.86 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.002115, allocations: 23.92 kB / 0.9516 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.00222, allocations: 67.75 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.002225, allocations: 4 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002226, allocations: 4 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.00223, allocations: 3.938 kB / 0.9516 GB, free: 2.344 MB / 0.9011 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.0003418/0.002572, allocations: 298 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.00261, allocations: 12.03 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.002643, allocations: 38.73 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.002666, allocations: 16.84 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.002819, allocations: 137.5 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.00283, allocations: 8.375 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.00284, allocations: 4.375 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.002966, allocations: 94.3 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.002975, allocations: 4.188 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.002984, allocations: 4.375 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.002992, allocations: 8.125 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.003051, allocations: 39.86 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.003453, allocations: 395.7 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.003501, allocations: 37.28 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.003531, allocations: 21.84 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.003538, allocations: 0 / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.003558, allocations: 38.55 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.003559, allocations: 0 / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.003697, allocations: 53.59 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.003736, allocations: 85.05 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.003843, allocations: 160.7 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-06/0.003852, allocations: 25.7 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.003904, allocations: 104.1 kB / 0.9532 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.003911, allocations: 7.953 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.003937, allocations: 17.67 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.004011, allocations: 318.8 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.004025, allocations: 12.25 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.004042, allocations: 17.72 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.004073, allocations: 29.7 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004075, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.942e-05/0.004135, allocations: 53.59 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.004148, allocations: 4 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.004154, allocations: 4 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004166, allocations: 0 / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.004221, allocations: 19.98 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.004226, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.004246, allocations: 7.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.00425, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 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 7.098e-05/0.004321, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.004343, allocations: 11.89 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.004365, allocations: 11.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004367, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.004373, allocations: 7.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004376, allocations: 4 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.004708, allocations: 441.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.004709, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.004724, allocations: 11.88 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.004726, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.004732, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.004733, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.004735, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.353e-05/0.004789, allocations: 73.94 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.00481, allocations: 11.89 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.00482, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.00483, allocations: 4.094 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.004845, allocations: 15.92 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.004847, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.004904, allocations: 122.3 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004904, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001287/0.005032, allocations: 8 kB / 0.9544 GB, free: 15.16 MB / 0.9167 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.0002326/0.005265, allocations: 0.6054 MB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.005339, allocations: 20.03 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005341, allocations: 4.062 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-06/0.005348, allocations: 8 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.005466, allocations: 8 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.006313, allocations: 1.333 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.006358, allocations: 79.41 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.006388, allocations: 12.61 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.006433, allocations: 28.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 5.92e-07/0.006433, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02171, allocations: 2.237 MB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.557, allocations: 5.656 kB / 0.9587 GB, free: 10.81 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.636744382791221]