Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001248/0.001248, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001505/0.001505, allocations: 217 kB / 22.25 MB, free: 5.082 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.381/3.381, allocations: 0.505 GB / 0.8101 GB, free: 21.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.003346/0.003346, allocations: 63.38 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4533, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002391/0.4557, allocations: 0.8297 MB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.4559, allocations: 39.78 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.456, allocations: 4 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.456, allocations: 7.875 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.4561, allocations: 15.86 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.279e-05/0.4562, allocations: 15.98 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.4563, allocations: 63.84 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.4564, allocations: 31.91 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.4565, allocations: 27.86 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.4566, allocations: 31.86 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4566, allocations: 4 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.4566, allocations: 11.94 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.4566, allocations: 15.92 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.4567, allocations: 31.8 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.4568, allocations: 79.8 kB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4568, allocations: 4 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4568, allocations: 0 / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4568, allocations: 0 / 1.354 GB, free: 7.227 MB / 1.045 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.0004821/0.4573, allocations: 306 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4574, allocations: 12.02 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.4574, allocations: 38.75 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.4575, allocations: 8.891 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.4577, allocations: 138.3 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4577, allocations: 4.375 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.4577, allocations: 8.375 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4579, allocations: 99.78 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4579, allocations: 11.92 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4579, allocations: 4 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4579, allocations: 4 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.458, allocations: 35.98 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.4586, allocations: 399.8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.4587, allocations: 41.16 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.4587, allocations: 17.83 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.4587, allocations: 4 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.4588, allocations: 38.59 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.4588, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.459, allocations: 57.53 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.459, allocations: 81.11 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.4592, allocations: 155.3 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4592, allocations: 29.7 kB / 1.355 GB, free: 5.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.4593, allocations: 104 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-06/0.4593, allocations: 3.953 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.4593, allocations: 21.7 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4595, allocations: 315.1 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.4595, allocations: 8 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.4595, allocations: 21.7 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.4596, allocations: 37.53 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4596, allocations: 0 / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.51e-05/0.4597, allocations: 57.64 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4597, allocations: 12 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4597, allocations: 4 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4597, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.4598, allocations: 7.938 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4598, allocations: 0 / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.4598, allocations: 7.953 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4598, allocations: 4 kB / 1.356 GB, free: 4.938 MB / 1.045 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.951e-05/0.4599, allocations: 117.8 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.46, allocations: 11.89 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.46, allocations: 19.8 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.46, allocations: 0 / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.46, allocations: 0 / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.46, allocations: 4 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.4605, allocations: 445.7 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4605, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.4605, allocations: 4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4605, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4605, allocations: 4.062 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4605, allocations: 3.984 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4605, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.4606, allocations: 85.81 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.4607, allocations: 11.94 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4607, allocations: 4 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.4607, allocations: 8.031 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.4607, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4607, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001559/0.4609, allocations: 122.3 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4609, allocations: 0 / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003272/0.4612, allocations: 8 kB / 1.357 GB, free: 4.016 MB / 1.045 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.0005883/0.4618, allocations: 0.6171 MB / 1.357 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.4619, allocations: 12 kB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4619, allocations: 0 / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.462, allocations: 7.938 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4622, allocations: 11.94 kB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4642, allocations: 1.336 MB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.4647, allocations: 0.6963 MB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.4647, allocations: 4.438 kB / 1.359 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.4648, allocations: 31.42 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of SimCode: time 7.61e-07/0.4648, allocations: 0 / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.5007, allocations: 1.689 MB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.77, allocations: 13.61 kB / 1.361 GB, free: 15.58 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.72971108998172]