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.001885/0.001885, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.00228/0.00228, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.472/1.472, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.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.777/2.777, allocations: 469.8 MB / 0.7491 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 176] 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.002201/0.002202, allocations: 71.88 kB / 1.073 GB, free: 144 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 159.1 MB / 1.229 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002151/1.035, allocations: 0.8381 MB / 1.229 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001255/1.035, allocations: 43.78 kB / 1.23 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/1.035, allocations: 0 / 1.23 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/1.036, allocations: 7.875 kB / 1.23 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/1.036, allocations: 15.86 kB / 1.23 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.953e-05/1.036, allocations: 19.98 kB / 1.23 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000141/1.036, allocations: 59.84 kB / 1.23 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/1.036, allocations: 47.92 kB / 1.23 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/1.036, allocations: 23.86 kB / 1.23 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/1.036, allocations: 35.78 kB / 1.23 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/1.036, allocations: 8 kB / 1.23 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/1.036, allocations: 4 kB / 1.23 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/1.036, allocations: 11.94 kB / 1.23 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/1.036, allocations: 35.78 kB / 1.23 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/1.036, allocations: 73.48 kB / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.036, allocations: 0 / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/1.036, allocations: 0 / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.036, allocations: 4 kB / 1.23 GB, free: 3.617 MB / 0.9356 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.0005001/1.037, allocations: 379.1 kB / 1.23 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.037, allocations: 8.031 kB / 1.23 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/1.037, allocations: 42.69 kB / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/1.037, allocations: 20.72 kB / 1.23 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.037, allocations: 200.2 kB / 1.23 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.037, allocations: 8.375 kB / 1.23 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.037, allocations: 4.375 kB / 1.23 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/1.038, allocations: 99.8 kB / 1.231 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.038, allocations: 3.938 kB / 1.231 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.038, allocations: 0 / 1.231 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/1.038, allocations: 4 kB / 1.231 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/1.038, allocations: 35.98 kB / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/1.038, allocations: 440.7 kB / 1.231 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/1.038, allocations: 41.22 kB / 1.231 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/1.038, allocations: 17.78 kB / 1.231 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/1.038, allocations: 4.094 kB / 1.231 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/1.038, allocations: 34.5 kB / 1.231 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.038, allocations: 4 kB / 1.231 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002053/1.039, allocations: 57.52 kB / 1.231 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.039, allocations: 77.11 kB / 1.231 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.039, allocations: 161.1 kB / 1.231 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.039, allocations: 25.7 kB / 1.231 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/1.039, allocations: 104.1 kB / 1.232 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/1.039, allocations: 7.953 kB / 1.232 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/1.039, allocations: 21.92 kB / 1.232 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.039, allocations: 318.8 kB / 1.232 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/1.039, allocations: 8 kB / 1.232 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/1.039, allocations: 13.72 kB / 1.232 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/1.039, allocations: 33.66 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.039, allocations: 0 / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.624e-05/1.04, allocations: 57.64 kB / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.04, allocations: 7.938 kB / 1.232 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.04, allocations: 4 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.04, allocations: 0 / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/1.04, allocations: 15.88 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.04, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/1.04, allocations: 7.938 kB / 1.232 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/1.04, allocations: 0 / 1.232 GB, free: 1.121 MB / 0.9356 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 0.00013/1.04, allocations: 121.9 kB / 1.232 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/1.04, allocations: 11.89 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/1.04, allocations: 11.88 kB / 1.232 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.04, allocations: 0 / 1.232 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.04, allocations: 0 / 1.232 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.04, allocations: 7.938 kB / 1.232 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/1.04, allocations: 470.7 kB / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.04, allocations: 4.062 kB / 1.233 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/1.04, allocations: 7.984 kB / 1.233 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.04, allocations: 4 kB / 1.233 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/1.04, allocations: 0 / 1.233 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.04, allocations: 0 / 1.233 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.04, allocations: 0 / 1.233 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/1.041, allocations: 77.83 kB / 1.233 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/1.041, allocations: 97.17 kB / 1.233 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.041, allocations: 3.984 kB / 1.233 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/1.041, allocations: 0 / 1.233 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/1.041, allocations: 4 kB / 1.233 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/1.041, allocations: 0 / 1.233 GB, free: 204 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001058/1.041, allocations: 119.2 kB / 1.233 GB, free: 84 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 1.233 GB, free: 84 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001849/1.041, allocations: 8 kB / 1.233 GB, free: 76 kB / 0.9356 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.0005218/1.042, allocations: 0.6176 MB / 1.234 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001029/1.042, allocations: 19.98 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1.042, allocations: 0 / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/1.042, allocations: 8.156 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/1.042, allocations: 14.09 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.043, allocations: 1.326 MB / 1.235 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/1.044, allocations: 0.6929 MB / 1.236 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.016e-05/1.044, allocations: 12.42 kB / 1.236 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/1.044, allocations: 23.44 kB / 1.236 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/1.044, allocations: 3.938 kB / 1.236 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/1.068, allocations: 1.574 MB / 1.237 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.985, allocations: 20.95 kB / 1.237 GB, free: 11.71 MB / 0.9512 GB " [Timeout remaining time 291] (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_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: 15.22582999500446]