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.001558/0.001558, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00193/0.00193, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.8 MB / 0.7715 GB, free: 3.859 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="cs",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.002018/0.002018, allocations: 65.98 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002105/0.3213, allocations: 0.8 MB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.3214, allocations: 39.78 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3215, allocations: 4 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.3215, allocations: 7.875 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.3216, allocations: 7.938 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.579e-05/0.3217, allocations: 19.97 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3218, allocations: 71.78 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3219, allocations: 31.59 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.322, allocations: 31.86 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.322, allocations: 27.84 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3221, allocations: 4 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.3221, allocations: 8 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3221, allocations: 15.92 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3221, allocations: 23.81 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3223, allocations: 84.97 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3223, allocations: 0 / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3223, allocations: 4 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3223, allocations: 0 / 1.285 GB, free: 9.465 MB / 0.9825 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.0004658/0.3227, allocations: 306 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3228, allocations: 8.031 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.3228, allocations: 4.188 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.3228, allocations: 42.73 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3229, allocations: 8.891 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3231, allocations: 134.4 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3231, allocations: 4.375 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3231, allocations: 12.38 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3233, allocations: 99.61 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3233, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.3233, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3233, allocations: 4 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.3234, allocations: 39.92 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3239, allocations: 387.8 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.69e-05/0.324, allocations: 41.34 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.324, allocations: 21.72 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.324, allocations: 7.984 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.3241, allocations: 38.5 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3241, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.3242, allocations: 49.59 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3243, allocations: 81.05 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3245, allocations: 160.7 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3245, allocations: 25.7 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3246, allocations: 116 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.3246, allocations: 3.953 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3246, allocations: 17.97 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3248, allocations: 322.8 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.3248, allocations: 4 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.3248, allocations: 29.64 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.3249, allocations: 25.72 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3249, allocations: 0 / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.957e-05/0.325, allocations: 53.59 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.325, allocations: 11.94 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.325, allocations: 3.984 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.325, allocations: 4.156 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.3251, allocations: 7.984 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.3251, allocations: 4 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.3251, allocations: 3.953 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3251, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 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 9.209e-05/0.3252, allocations: 117.8 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.3252, allocations: 11.89 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.3253, allocations: 11.8 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3253, allocations: 4 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3253, allocations: 4 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3253, allocations: 4 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.3257, allocations: 437.8 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3257, allocations: 7.938 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.3258, allocations: 81.88 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.3258, allocations: 12.05 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3258, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.3259, allocations: 11.92 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.3259, allocations: 4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001017/0.326, allocations: 120.3 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.326, allocations: 0 / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001924/0.3262, allocations: 11.95 kB / 1.288 GB, free: 6.27 MB / 0.9825 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.0004211/0.3266, allocations: 0.6093 MB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.436e-05/0.3267, allocations: 23.97 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3267, allocations: 0 / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.3267, allocations: 4 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.3269, allocations: 8 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3282, allocations: 1.335 MB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.3283, allocations: 91.88 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.3283, allocations: 4.438 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3283, allocations: 23.42 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3283, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3508, allocations: 1.762 MB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.22, allocations: 12.23 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.004 --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/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.317605374963023]