Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001486/0.001486, allocations: 111.7 kB / 16.45 MB, free: 6.488 MB / 14.72 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.001703/0.001703, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 72.2 kB / 1.149 GB, free: 26.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 176.1 MB / 1.321 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002195/0.3752, allocations: 0.8402 MB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.3753, allocations: 39.78 kB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.3754, allocations: 4 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.3754, allocations: 7.875 kB / 1.322 GB, free: 2.574 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.3755, allocations: 11.92 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.401e-05/0.3755, allocations: 19.98 kB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3757, allocations: 59.78 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3758, allocations: 35.92 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.3759, allocations: 27.86 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.3759, allocations: 27.86 kB / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.376, allocations: 4 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.376, allocations: 8 kB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.376, allocations: 15.91 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.376, allocations: 39.73 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3762, allocations: 75.81 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3762, allocations: 4 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3762, allocations: 4 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3762, allocations: 0 / 1.322 GB, free: 2.246 MB / 1.014 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.0005272/0.3767, allocations: 383.1 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3768, allocations: 15.98 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.3768, allocations: 34.75 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3768, allocations: 12.89 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3771, allocations: 196.2 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3771, allocations: 8.375 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3771, allocations: 8.375 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3773, allocations: 95.86 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3773, allocations: 3.938 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3773, allocations: 4 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3773, allocations: 3.938 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.3774, allocations: 35.92 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.3779, allocations: 436.7 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.378, allocations: 41.27 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.378, allocations: 21.84 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.3781, allocations: 0 / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3781, allocations: 34.56 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3781, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.3783, allocations: 61.47 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3783, allocations: 81.11 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3785, allocations: 160.3 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3785, allocations: 29.64 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.3786, allocations: 96.34 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.3786, allocations: 19.88 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3786, allocations: 17.66 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3788, allocations: 318.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.3788, allocations: 7.984 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.3788, allocations: 17.72 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.3789, allocations: 29.72 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3789, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.379, allocations: 57.58 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.379, allocations: 11.94 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.379, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.379, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3791, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3791, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.3791, allocations: 7.953 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3791, allocations: 4 kB / 1.324 GB, free: 15.75 MB / 1.029 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 8.457e-05/0.3792, allocations: 117.9 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.3793, allocations: 11.89 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.3793, allocations: 7.875 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3793, allocations: 3.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3793, allocations: 4 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3793, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.3798, allocations: 470.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3798, allocations: 3.938 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.3798, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3798, allocations: 3.984 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.3798, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3798, allocations: 3.984 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3798, allocations: 3.938 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.3799, allocations: 85.91 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.38, allocations: 89.14 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.38, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.38, allocations: 3.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.38, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.38, allocations: 7.875 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.914e-05/0.3801, allocations: 121.3 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001879/0.3803, allocations: 11.94 kB / 1.325 GB, free: 14.7 MB / 1.029 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.0005227/0.3809, allocations: 0.6205 MB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.381, allocations: 19.92 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.381, allocations: 4.156 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.381, allocations: 8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3811, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3825, allocations: 1.334 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3829, allocations: 0.6924 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3829, allocations: 8.422 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.383, allocations: 23.44 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.383, allocations: 0 / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.4081, allocations: 1.582 MB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.556, allocations: 12.36 kB / 1.329 GB, free: 10.33 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.298310545040295]