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.001687/0.001687, allocations: 116.1 kB / 17.17 MB, free: 6 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.002108/0.002108, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.239/3.239, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002187/0.002187, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9833/0.9854, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002538/0.988, allocations: 0.8264 MB / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.9881, allocations: 45.67 kB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.9882, allocations: 1.188 kB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.9882, allocations: 9.656 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.9883, allocations: 10.66 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.9883, allocations: 23.47 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.9885, allocations: 58.58 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.9886, allocations: 32.47 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.9887, allocations: 30.86 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.9887, allocations: 30.86 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.9887, allocations: 6.219 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.9887, allocations: 9.219 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.9888, allocations: 16.06 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.9888, allocations: 37.44 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.9889, allocations: 72.44 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.989, allocations: 4.703 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.989, allocations: 0 / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.989, allocations: 0.9375 kB / 1.341 GB, free: 15.52 MB / 1.061 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.0004232/0.9894, allocations: 379.4 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9894, allocations: 10.7 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.239e-05/0.9894, allocations: 10.44 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.9895, allocations: 42.61 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.9895, allocations: 10.27 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.9897, allocations: 200.8 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.9897, allocations: 2.969 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.9897, allocations: 9.156 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.9899, allocations: 102.9 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9899, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9899, allocations: 1.688 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9899, allocations: 1.562 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.99, allocations: 36.78 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.9904, allocations: 438.7 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.9905, allocations: 40.7 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.9905, allocations: 16.3 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.9905, allocations: 9.438 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.9906, allocations: 39.3 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9906, allocations: 1.219 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.9907, allocations: 51.91 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.9908, allocations: 78.95 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.9909, allocations: 163.7 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.9909, allocations: 25.95 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.991, allocations: 104.1 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.991, allocations: 8.938 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.991, allocations: 19.14 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.9911, allocations: 319.9 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.9911, allocations: 4.141 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.9912, allocations: 24.45 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.9912, allocations: 29.98 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9912, allocations: 1.156 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.099e-05/0.9913, allocations: 56.45 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.9913, allocations: 9.984 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9913, allocations: 5.094 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9913, allocations: 0 / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.9914, allocations: 10.98 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.9914, allocations: 1 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.9914, allocations: 14.2 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.9914, allocations: 1.125 kB / 1.344 GB, free: 13.38 MB / 1.061 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 5.81e-05/0.9915, allocations: 115.8 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.9915, allocations: 12.12 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.9916, allocations: 12.52 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9916, allocations: 0 / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9916, allocations: 2.078 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9916, allocations: 0 / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.9919, allocations: 479.2 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9919, allocations: 0.7969 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.9919, allocations: 2.969 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9919, allocations: 1.875 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.9919, allocations: 4 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9919, allocations: 2.172 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9919, allocations: 0 / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.992, allocations: 85.08 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.992, allocations: 86.95 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.992, allocations: 4.75 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.9921, allocations: 1.312 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.9921, allocations: 5.922 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.9921, allocations: 1.812 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.9922, allocations: 120.5 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9922, allocations: 4.031 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001887/0.9924, allocations: 6.375 kB / 1.344 GB, free: 12.46 MB / 1.061 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.0002734/0.9926, allocations: 0.614 MB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.9927, allocations: 21.14 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9927, allocations: 0 / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.9927, allocations: 7.531 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.9929, allocations: 8.234 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.9939, allocations: 1.328 MB / 1.346 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.9941, allocations: 0.6956 MB / 1.347 GB, free: 9.914 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.9941, allocations: 7.469 kB / 1.347 GB, free: 9.914 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.9941, allocations: 29.61 kB / 1.347 GB, free: 9.891 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9941, allocations: 3.938 kB / 1.347 GB, free: 9.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/1.013, allocations: 1.628 MB / 1.349 GB, free: 9.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.442, allocations: 16.22 kB / 1.349 GB, free: 9.492 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.241600606008433]