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.001379/0.001379, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001679/0.001679, allocations: 213.6 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.809 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.322/3.322, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.00215/0.00215, allocations: 66.89 kB / 1.153 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3922, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002121/0.3943, allocations: 0.7883 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.3944, allocations: 47.78 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3945, allocations: 0 / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3945, allocations: 11.86 kB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.3946, allocations: 7.938 kB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.424e-05/0.3947, allocations: 15.98 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3948, allocations: 63.78 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3949, allocations: 31.97 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.395, allocations: 27.88 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.395, allocations: 23.84 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3951, allocations: 4 kB / 1.326 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.3951, allocations: 15.94 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.3951, allocations: 15.92 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.3951, allocations: 31.8 kB / 1.326 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3953, allocations: 75.81 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3953, allocations: 0 / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3953, allocations: 0 / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.3953, allocations: 0 / 1.326 GB, free: 1.141 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.0004329/0.3957, allocations: 310 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3957, allocations: 8.031 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.3958, allocations: 38.75 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.3958, allocations: 12.89 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.396, allocations: 142.3 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.396, allocations: 12.28 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3961, allocations: 8.359 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3962, allocations: 87.95 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3962, allocations: 3.938 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.3962, allocations: 4 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3962, allocations: 0 / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.3963, allocations: 39.92 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.3969, allocations: 391.8 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.397, allocations: 41.34 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.397, allocations: 17.78 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.397, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3971, allocations: 34.56 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3971, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001976/0.3973, allocations: 57.52 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3973, allocations: 81.11 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3975, allocations: 169.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3975, allocations: 29.95 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.3976, allocations: 108 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.3976, allocations: 3.953 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3977, allocations: 17.72 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3978, allocations: 318.8 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.3979, allocations: 11.94 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3979, allocations: 17.72 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.3979, allocations: 21.72 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3979, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.069e-05/0.398, allocations: 65.58 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.398, allocations: 7.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.398, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3981, allocations: 3.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.3981, allocations: 12 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3981, allocations: 3.984 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.3982, allocations: 7.953 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.3982, allocations: 0 / 1.328 GB, free: 14.86 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.0001034/0.3983, allocations: 118.3 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3983, allocations: 11.95 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3983, allocations: 11.81 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3983, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3983, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3983, allocations: 3.938 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.3988, allocations: 441.9 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3988, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.3988, allocations: 3.938 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3988, allocations: 8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3988, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3988, allocations: 64 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3988, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.3989, allocations: 85.83 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3989, allocations: 7.953 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.399, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.399, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.399, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.399, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3991, allocations: 121.2 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3991, allocations: 4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001875/0.3993, allocations: 4 kB / 1.329 GB, free: 13.95 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.000419/0.3997, allocations: 0.6172 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.3998, allocations: 19.92 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3998, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.3998, allocations: 8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.4, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.4013, allocations: 1.334 MB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.4014, allocations: 83.12 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4014, allocations: 8.422 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.4015, allocations: 23.44 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.4015, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4326, allocations: 2.116 MB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 5.656 kB / 1.333 GB, free: 9.723 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.9276145840995]