Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008301/0.0008301, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008122/0.0008122, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9148/0.9148, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.799/1.799, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.981 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.212e-05, allocations: 2.281 kB / 0.981 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001773/0.001795, allocations: 1.282 MB / 0.9822 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.002192, allocations: 275.1 kB / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.002215, allocations: 0 / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.002232, allocations: 0 / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.00227, allocations: 3.938 kB / 0.9825 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.002551, allocations: 55.67 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.002611, allocations: 23.88 kB / 0.9826 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.002646, allocations: 0 / 0.9826 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.002696, allocations: 7.984 kB / 0.9826 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.002737, allocations: 4 kB / 0.9826 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.00275, allocations: 4 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.002857, allocations: 59.86 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.00287, allocations: 4 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.002886, allocations: 4 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003002, allocations: 55.81 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003004, allocations: 0 / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.033e-06/0.003006, allocations: 4 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003009, allocations: 4 kB / 0.9827 GB, free: 0.832 MB / 0.9323 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.000293/0.003302, allocations: 258.3 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.003338, allocations: 8.031 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.003366, allocations: 30.75 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.003498, allocations: 20.91 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.146e-05/0.003559, allocations: 101.8 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.00357, allocations: 8.375 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003577, allocations: 4.375 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.00368, allocations: 71.89 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.003685, allocations: 4.188 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.003695, allocations: 4.359 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.0037, allocations: 4.125 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.00374, allocations: 15.98 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.00386, allocations: 128.7 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.004757, allocations: 266.5 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.004789, allocations: 20.84 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.004801, allocations: 0 / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.004823, allocations: 38.5 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004824, allocations: 0 / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001504/0.004974, allocations: 61.69 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005003, allocations: 59.28 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.005047, allocations: 89.86 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005058, allocations: 25.83 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.005078, allocations: 84.14 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.005109, allocations: 23.83 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.005135, allocations: 17.66 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.005216, allocations: 314.8 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.005233, allocations: 4 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.005249, allocations: 15.92 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.005285, allocations: 24.86 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005287, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.973e-05/0.005346, allocations: 53.69 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.005361, allocations: 8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.005368, allocations: 4 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005381, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.00542, allocations: 7.938 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005425, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.005441, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005445, allocations: 4 kB / 0.9844 GB, free: 14.88 MB / 0.948 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 5.395e-05/0.005499, allocations: 113.8 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.005506, allocations: 4 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.005531, allocations: 11.52 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005533, allocations: 0 / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.005539, allocations: 3.938 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005542, allocations: 4 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.553e-05/0.005617, allocations: 124.8 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005619, allocations: 4.328 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.005638, allocations: 7.984 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.005639, allocations: 0 / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005646, allocations: 0 / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005646, allocations: 0 / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005648, allocations: 3.938 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.00572, allocations: 89.06 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.005758, allocations: 4 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005768, allocations: 15.94 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.005796, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.00581, allocations: 7.922 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.005813, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.005834, allocations: 79.28 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005834, allocations: 3.938 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001244/0.005959, allocations: 8 kB / 0.9849 GB, free: 14.34 MB / 0.948 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.000233/0.006192, allocations: 0.6047 MB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.006267, allocations: 31.86 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.006269, allocations: 4.094 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.006284, allocations: 15.98 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.006458, allocations: 11.94 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.006768, allocations: 145.4 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.006802, allocations: 59.34 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.006833, allocations: 4 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.006866, allocations: 12.5 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.006867, allocations: 3.938 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.02044, allocations: 2.007 MB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.659, allocations: 1.875 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.80807445384562]