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.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.0009287/0.0009287, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001432/0.001432, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.234e-06/2.234e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.316e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002456/0.002479, allocations: 1.282 MB / 0.9517 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.002879, allocations: 275 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.002901, allocations: 0 / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.002917, allocations: 0 / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.002957, allocations: 11.92 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.003207, allocations: 43.75 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.003267, allocations: 23.86 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.003303, allocations: 4 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.003351, allocations: 7.984 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.003395, allocations: 15.92 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.003408, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.003495, allocations: 51.89 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.003507, allocations: 4 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.003522, allocations: 7.984 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003638, allocations: 51.89 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003642, allocations: 3.984 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003643, allocations: 0 / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003647, allocations: 3.938 kB / 0.9522 GB, free: 1.715 MB / 0.9011 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.0002887/0.003936, allocations: 258.3 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.003971, allocations: 12.03 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.003998, allocations: 34.75 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.004132, allocations: 16.92 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.004194, allocations: 101.8 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004205, allocations: 4.359 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.004212, allocations: 8.312 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004312, allocations: 67.95 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004319, allocations: 192 / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.004327, allocations: 12.3 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004332, allocations: 4.125 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.004372, allocations: 16 kB / 0.9527 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.004492, allocations: 124.8 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.005363, allocations: 266.5 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.00539, allocations: 12.86 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.0054, allocations: 8 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.005418, allocations: 34.55 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005419, allocations: 0 / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.00556, allocations: 69.58 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.005585, allocations: 55.34 kB / 0.9533 GB, free: 484 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/0.005626, allocations: 93.86 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.005636, allocations: 25.7 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.005654, allocations: 80.14 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.005677, allocations: 15.84 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.005702, allocations: 13.72 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.0058, allocations: 327 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.005815, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.005828, allocations: 8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.005867, allocations: 32.78 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005869, allocations: 0 / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.431e-05/0.005923, allocations: 49.7 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005934, allocations: 4 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005938, allocations: 0 / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.00595, allocations: 7.984 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.58e-05/0.005986, allocations: 11.94 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00599, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.006005, allocations: 4 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.006009, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 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 4.933e-05/0.006058, allocations: 113.8 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.006064, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.006084, allocations: 15.41 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006086, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.00609, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006092, allocations: 4 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.54e-05/0.006158, allocations: 128.7 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006158, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.006177, allocations: 8 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.006177, allocations: 336 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006183, allocations: 4 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006183, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.006185, allocations: 3.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.006252, allocations: 89.05 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.006287, allocations: 8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.006295, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.006323, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.006339, allocations: 11.92 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006342, allocations: 3.938 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.842e-05/0.006361, allocations: 79.28 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006361, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001317/0.006492, allocations: 12 kB / 0.9544 GB, free: 15.21 MB / 0.9167 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.0002186/0.006711, allocations: 0.6031 MB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.006783, allocations: 31.92 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006785, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.006798, allocations: 12 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.006957, allocations: 16.02 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.007256, allocations: 142.5 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.007288, allocations: 55.36 kB / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.007318, allocations: 11.98 kB / 0.9552 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.007346, allocations: 8.5 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.007346, allocations: 0 / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.02228, allocations: 2.006 MB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.104, allocations: 1.875 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.042052189819515]