Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002032/0.002032, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002514/0.002514, allocations: 217 kB / 22.25 MB, free: 5.105 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.801 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.233/3.233, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_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.002012/0.002012, allocations: 68.58 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3994, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00221/0.4016, allocations: 0.8044 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.4017, allocations: 35.8 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.4018, allocations: 4 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.4018, allocations: 15.8 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.4019, allocations: 7.938 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.662e-05/0.4019, allocations: 15.98 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.402, allocations: 59.83 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4022, allocations: 39.97 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.4022, allocations: 27.88 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.4023, allocations: 31.78 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.4023, allocations: 8 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-06/0.4024, allocations: 4 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.4024, allocations: 11.94 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.4024, allocations: 27.86 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.4025, allocations: 79.8 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4025, allocations: 4 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4025, allocations: 0 / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4026, allocations: 0 / 1.327 GB, free: 404 kB / 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.0004539/0.403, allocations: 310 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.403, allocations: 8.031 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.4031, allocations: 38.75 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.4031, allocations: 13.81 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.4034, allocations: 142.2 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.4034, allocations: 8.281 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4034, allocations: 16.31 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4036, allocations: 86.95 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4036, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4036, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4036, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.4037, allocations: 47.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.4042, allocations: 391.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/0.4043, allocations: 45.28 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.4043, allocations: 13.78 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.4043, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4044, allocations: 38.56 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4044, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001838/0.4046, allocations: 57.77 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.4046, allocations: 77.11 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4048, allocations: 160.3 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4048, allocations: 29.64 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.4049, allocations: 112 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.4049, allocations: 3.953 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4049, allocations: 17.72 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4051, allocations: 318.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.4051, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.4052, allocations: 21.72 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.4052, allocations: 25.78 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4052, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.671e-05/0.4053, allocations: 65.52 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4053, allocations: 8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4053, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4053, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.4054, allocations: 8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4054, allocations: 7.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.4055, allocations: 3.953 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4055, allocations: 8.062 kB / 1.329 GB, free: 14.11 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 0.0001094/0.4056, allocations: 130.2 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.4056, allocations: 7.953 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.4056, allocations: 7.812 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4056, allocations: 4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4056, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4056, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.4061, allocations: 433.9 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4061, allocations: 3.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.4061, allocations: 12 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4061, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.4061, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4061, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4061, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.4062, allocations: 77.89 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.4062, allocations: 11.94 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4063, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.4063, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.4063, allocations: 3.938 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.4063, allocations: 7.969 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.4064, allocations: 125.5 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4064, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001917/0.4066, allocations: 11.95 kB / 1.33 GB, free: 13.19 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.0004171/0.407, allocations: 0.6055 MB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.4071, allocations: 23.92 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4071, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.4071, allocations: 4.219 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.4073, allocations: 16 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4087, allocations: 1.323 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.4087, allocations: 83.12 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.4088, allocations: 8.422 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.4088, allocations: 23.44 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4088, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4388, allocations: 2.137 MB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 4.859 kB / 1.334 GB, free: 8.953 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.629282280016923]