Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001819/0.001819, allocations: 108.8 kB / 16.45 MB, free: 6.035 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.001919/0.001919, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 71.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.7923, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003138/0.7954, allocations: 1.266 MB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.7962, allocations: 291.1 kB / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.7962, allocations: 0 / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.7962, allocations: 0 / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.7963, allocations: 19.91 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.7966, allocations: 51.7 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.7967, allocations: 15.92 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.7968, allocations: 11.98 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.7968, allocations: 11.94 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.7969, allocations: 0 / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.7969, allocations: 4 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.7971, allocations: 55.94 kB / 1.27 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.7972, allocations: 4 kB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.7972, allocations: 7.938 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.7974, allocations: 57.59 kB / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7974, allocations: 0 / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7974, allocations: 0 / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.7974, allocations: 0 / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005128/0.7979, allocations: 335.4 kB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7979, allocations: 16.02 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.798, allocations: 30.75 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.7983, allocations: 20.92 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.7985, allocations: 160.4 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7985, allocations: 384 / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.7985, allocations: 4.375 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.7986, allocations: 42.23 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7986, allocations: 3.938 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.7987, allocations: 8 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7987, allocations: 0 / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.7987, allocations: 15.94 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.799, allocations: 157.7 kB / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.8014, allocations: 258.5 kB / 1.271 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.8015, allocations: 28.84 kB / 1.272 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.8015, allocations: 0 / 1.272 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.8015, allocations: 34.56 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.8015, allocations: 0 / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002228/0.8018, allocations: 73.52 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.8018, allocations: 51.41 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.8019, allocations: 89.86 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.8019, allocations: 29.83 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.802, allocations: 80.14 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.802, allocations: 23.83 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.8021, allocations: 13.72 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8022, allocations: 310.8 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.8022, allocations: 11.94 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.8023, allocations: 11.98 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.8023, allocations: 29.12 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8024, allocations: 11.88 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.8025, allocations: 53.69 kB / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.8025, allocations: 7.938 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8025, allocations: 0 / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8025, allocations: 0 / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.8026, allocations: 8 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8026, allocations: 0 / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.8026, allocations: 0 / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.8027, allocations: 0 / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.0001064/0.8028, allocations: 117.8 kB / 1.272 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.8028, allocations: 7.922 kB / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.8028, allocations: 7.5 kB / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8028, allocations: 0 / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8028, allocations: 8 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8028, allocations: 0 / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.803, allocations: 157.7 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.803, allocations: 0 / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.8031, allocations: 7.938 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8031, allocations: 3.938 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.8031, allocations: 4 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8031, allocations: 4 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8031, allocations: 0 / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.8033, allocations: 81.08 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.8034, allocations: 81.09 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.8034, allocations: 7.938 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.8034, allocations: 0 / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.8035, allocations: 0 / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.8035, allocations: 4 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001143/0.8036, allocations: 79.28 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8036, allocations: 0 / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003688/0.804, allocations: 8 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0006498/0.8046, allocations: 0.6245 MB / 1.273 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.8047, allocations: 24.08 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.8047, allocations: 4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.8048, allocations: 11.94 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.8052, allocations: 11.98 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.8058, allocations: 160.1 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.8063, allocations: 0.6768 MB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.8063, allocations: 4.328 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.8064, allocations: 7.438 kB / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8064, allocations: 0 / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.8362, allocations: 1.347 MB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.294, allocations: 12.64 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.34860697388649]