Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001694/0.001694, allocations: 106 kB / 16.45 MB, free: 6.445 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.001964/0.001964, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.854/2.854, allocations: 476.7 MB / 0.7611 GB, free: 15.75 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.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 71.88 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001861/1.039, allocations: 0.8409 MB / 1.27 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/1.039, allocations: 45.28 kB / 1.27 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/1.039, allocations: 5.562 kB / 1.27 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/1.039, allocations: 9.562 kB / 1.27 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/1.039, allocations: 10.75 kB / 1.27 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.171e-05/1.039, allocations: 15.52 kB / 1.27 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/1.039, allocations: 63.88 kB / 1.27 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/1.039, allocations: 39.11 kB / 1.27 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/1.039, allocations: 26.36 kB / 1.27 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/1.04, allocations: 26.81 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/1.04, allocations: 5.656 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/1.04, allocations: 6.312 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/1.04, allocations: 16.31 kB / 1.27 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/1.04, allocations: 32.38 kB / 1.27 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/1.04, allocations: 81.34 kB / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.04, allocations: 0 / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.04, allocations: 0 / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/1.04, allocations: 0.875 kB / 1.27 GB, free: 6.98 MB / 0.9981 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.0003768/1.04, allocations: 376.2 kB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.04, allocations: 10.03 kB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/1.04, allocations: 43.47 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/1.04, allocations: 16.91 kB / 1.27 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/1.04, allocations: 197 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/1.04, allocations: 7.406 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/1.04, allocations: 9.031 kB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.041, allocations: 89.44 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.041, allocations: 3.938 kB / 1.271 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.041, allocations: 5.438 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.041, allocations: 2.094 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/1.041, allocations: 39.81 kB / 1.271 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/1.041, allocations: 438 kB / 1.271 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/1.041, allocations: 42.17 kB / 1.271 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/1.041, allocations: 24.5 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/1.041, allocations: 0 / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.041, allocations: 32.69 kB / 1.271 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.041, allocations: 0 / 1.271 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000159/1.041, allocations: 56.55 kB / 1.271 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/1.041, allocations: 79.2 kB / 1.271 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.042, allocations: 163.5 kB / 1.271 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/1.042, allocations: 26.52 kB / 1.272 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/1.042, allocations: 107.3 kB / 1.272 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/1.042, allocations: 6.281 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/1.042, allocations: 21.78 kB / 1.272 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/1.042, allocations: 316.3 kB / 1.272 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/1.042, allocations: 12.14 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/1.042, allocations: 24.22 kB / 1.272 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/1.042, allocations: 26.61 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.042, allocations: 0.6562 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.483e-05/1.042, allocations: 60.56 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.042, allocations: 10.77 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/1.042, allocations: 0 / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.042, allocations: 1.5 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/1.042, allocations: 9.922 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.042, allocations: 5.641 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/1.042, allocations: 5.719 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/1.042, allocations: 1.656 kB / 1.272 GB, free: 4.848 MB / 0.9981 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 4.596e-05/1.042, allocations: 114.3 kB / 1.272 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/1.042, allocations: 11.86 kB / 1.272 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/1.042, allocations: 9.578 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.042, allocations: 0.625 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.042, allocations: 1 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.042, allocations: 5.594 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/1.042, allocations: 473.5 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.042, allocations: 4.875 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/1.042, allocations: 7.531 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.042, allocations: 1.438 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.042, allocations: 1.469 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.042, allocations: 1.031 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.042, allocations: 0 / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.191e-05/1.042, allocations: 85.34 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/1.042, allocations: 86.89 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/1.042, allocations: 1.297 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/1.042, allocations: 0.625 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/1.043, allocations: 2.219 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.043, allocations: 0.7188 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.229e-05/1.043, allocations: 128.9 kB / 1.273 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.043, allocations: 0 / 1.273 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001919/1.043, allocations: 10.75 kB / 1.273 GB, free: 3.93 MB / 0.9981 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.0002367/1.043, allocations: 0.6131 MB / 1.274 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/1.043, allocations: 19.59 kB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.043, allocations: 3.938 kB / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/1.043, allocations: 8.531 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/1.043, allocations: 10.94 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.044, allocations: 1.335 MB / 1.275 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.045, allocations: 0.6921 MB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.435e-05/1.045, allocations: 7.938 kB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/1.045, allocations: 25.27 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.045, allocations: 4.781 kB / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/1.067, allocations: 1.595 MB / 1.277 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/9.234, allocations: 15.52 kB / 1.277 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.71227547293529]