Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.001277/0.001277, allocations: 105 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.001318/0.001318, 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.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.869/2.869, allocations: 476.7 MB / 0.7611 GB, free: 15.68 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_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.88 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00197/1.032, allocations: 0.8457 MB / 1.27 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000106/1.032, allocations: 41.55 kB / 1.27 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/1.032, allocations: 4.969 kB / 1.27 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/1.032, allocations: 9.469 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/1.032, allocations: 14.45 kB / 1.27 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.73e-05/1.033, allocations: 16.05 kB / 1.27 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/1.033, allocations: 59.7 kB / 1.27 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/1.033, allocations: 39.06 kB / 1.27 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/1.033, allocations: 26.75 kB / 1.27 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/1.033, allocations: 30.11 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/1.033, allocations: 6.031 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/1.033, allocations: 5.688 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/1.033, allocations: 16.52 kB / 1.27 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/1.033, allocations: 33.3 kB / 1.27 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/1.033, allocations: 76.14 kB / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/1.033, allocations: 1.125 kB / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.033, allocations: 0 / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.033, allocations: 0 / 1.27 GB, free: 6.984 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.0003786/1.033, allocations: 385.1 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.034, allocations: 9.438 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/1.034, allocations: 39.08 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/1.034, allocations: 13.48 kB / 1.27 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.034, allocations: 196.6 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.034, allocations: 7.656 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.034, allocations: 9.75 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/1.034, allocations: 90.02 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.034, allocations: 8.625 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.034, allocations: 5.266 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.034, allocations: 2.5 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/1.034, allocations: 31.86 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/1.034, allocations: 445.9 kB / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/1.035, allocations: 38.03 kB / 1.271 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/1.035, allocations: 27.34 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.035, allocations: 0.9375 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/1.035, allocations: 32.59 kB / 1.271 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.035, allocations: 0 / 1.271 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/1.035, allocations: 56.69 kB / 1.271 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/1.035, allocations: 78.5 kB / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/1.035, allocations: 158.1 kB / 1.271 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.035, allocations: 30.45 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/1.035, allocations: 103.5 kB / 1.272 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/1.035, allocations: 6.312 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/1.035, allocations: 21.92 kB / 1.272 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.035, allocations: 315.5 kB / 1.272 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/1.035, allocations: 8.047 kB / 1.272 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/1.035, allocations: 20.38 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/1.035, allocations: 30.83 kB / 1.272 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.035, allocations: 0.7812 kB / 1.272 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.607e-05/1.035, allocations: 57.2 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.035, allocations: 13.34 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.035, allocations: 5.406 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.035, allocations: 4.875 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/1.035, allocations: 6.141 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.035, allocations: 5.547 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/1.035, allocations: 6.094 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/1.035, allocations: 0.9688 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.879e-05/1.035, allocations: 115.2 kB / 1.272 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/1.035, allocations: 11.95 kB / 1.272 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/1.035, allocations: 8 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.035, allocations: 1.781 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.035, allocations: 0.6562 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.035, allocations: 0.7812 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/1.036, allocations: 478.4 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.036, allocations: 1.641 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.036, allocations: 3.75 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.036, allocations: 0 / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/1.036, allocations: 6.391 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.036, allocations: 0 / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.036, allocations: 0.7188 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.381e-05/1.036, allocations: 92.97 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/1.036, allocations: 86.48 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.036, allocations: 1.922 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/1.036, allocations: 0.8125 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/1.036, allocations: 1.406 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/1.036, allocations: 1.719 kB / 1.273 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.906e-05/1.036, allocations: 123.8 kB / 1.273 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0.7188 kB / 1.273 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001869/1.036, allocations: 10.84 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.0002461/1.036, allocations: 0.6164 MB / 1.274 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/1.037, allocations: 15.09 kB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.037, allocations: 0.875 kB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/1.037, allocations: 12.48 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.0001531/1.037, allocations: 11.8 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.00132/1.038, allocations: 1.33 MB / 1.275 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.038, allocations: 0.6974 MB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.453e-05/1.039, allocations: 10.25 kB / 1.276 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/1.039, allocations: 25.5 kB / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.039, allocations: 0 / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/1.066, allocations: 1.591 MB / 1.277 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/9.236, allocations: 14.67 kB / 1.277 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.701415236108005]