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.001657/0.001657, allocations: 114.7 kB / 17.6 MB, free: 4.688 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.001946/0.001946, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.455/2.455, allocations: 476.7 MB / 0.7629 GB, free: 15.09 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.001754/0.001754, allocations: 67.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7285, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001781/0.7303, allocations: 0.8381 MB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.028e-05/0.7304, allocations: 40.94 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.7304, allocations: 2.156 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.7305, allocations: 9.984 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.962e-05/0.7306, allocations: 13.2 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.914e-05/0.7306, allocations: 20.86 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7307, allocations: 59.17 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.7308, allocations: 35.73 kB / 1.273 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.7309, allocations: 27.41 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.7309, allocations: 26.44 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.7309, allocations: 5.781 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-06/0.7309, allocations: 6.438 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.731, allocations: 19.95 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.731, allocations: 32.34 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.7311, allocations: 81.27 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7311, allocations: 1.25 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7311, allocations: 0 / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7311, allocations: 0 / 1.273 GB, free: 6.938 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.000348/0.7315, allocations: 376.1 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7315, allocations: 14.09 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.7315, allocations: 38.77 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.7316, allocations: 17.5 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.7317, allocations: 197.3 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.7317, allocations: 11.31 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.7317, allocations: 5.406 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.7319, allocations: 94.73 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7319, allocations: 3.938 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.7319, allocations: 1.406 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7319, allocations: 2.25 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.732, allocations: 39.67 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.7324, allocations: 438 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.7324, allocations: 42.19 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.7324, allocations: 20.06 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.7324, allocations: 3.938 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.7324, allocations: 37.36 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7324, allocations: 0 / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.7326, allocations: 56.5 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.7326, allocations: 77.98 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7327, allocations: 159.5 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.7327, allocations: 26.41 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.7328, allocations: 108.1 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.7328, allocations: 10.05 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.7328, allocations: 13.55 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.7328, allocations: 320 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.7329, allocations: 8.453 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.7329, allocations: 15.89 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.7329, allocations: 34.28 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7329, allocations: 0.8438 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.826e-05/0.733, allocations: 57.95 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.733, allocations: 11.31 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.733, allocations: 0.9062 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.733, allocations: 4.812 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.7331, allocations: 7.297 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.7331, allocations: 0.8125 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.7331, allocations: 5.875 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.7331, allocations: 6.125 kB / 1.275 GB, free: 4.809 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.16e-05/0.7331, allocations: 115.2 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.7332, allocations: 19.7 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.7332, allocations: 11.28 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.7332, allocations: 1.062 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7332, allocations: 1 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7332, allocations: 1.594 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.7334, allocations: 478.4 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.7334, allocations: 1 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.7335, allocations: 3.344 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7335, allocations: 0.8438 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.7335, allocations: 3.516 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7335, allocations: 0.7812 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7335, allocations: 8.562 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.512e-05/0.7335, allocations: 79.53 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.7336, allocations: 90.41 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.7336, allocations: 0.9062 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.7336, allocations: 0.8438 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.7336, allocations: 5.109 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.7336, allocations: 0.9062 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.7337, allocations: 122.4 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7337, allocations: 4.906 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000174/0.7338, allocations: 7.094 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.0002083/0.734, allocations: 0.6156 MB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.7341, allocations: 23.02 kB / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7341, allocations: 0 / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.7342, allocations: 6.281 kB / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.7343, allocations: 11.12 kB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.7352, allocations: 1.345 MB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.7355, allocations: 0.6962 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.7355, allocations: 6.469 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.7355, allocations: 28.59 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.7355, allocations: 0 / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.2/1.936, allocations: 1.565 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.88, allocations: 9.375 kB / 1.28 GB, free: 16.91 MB / 1.014 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.700009560008766]