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.0008123/0.0008123, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009319/0.0009319, 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.9235/0.9235, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.781/1.781, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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 2.665e-06/2.665e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.726e-05, allocations: 10.22 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001658/0.001685, allocations: 1.29 MB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004079/0.002093, allocations: 271.1 kB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.002116, allocations: 0 / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.002133, allocations: 0 / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.002176, allocations: 4 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.002436, allocations: 47.69 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.002503, allocations: 23.86 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.002542, allocations: 0 / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.002597, allocations: 15.98 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.002643, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.002657, allocations: 0 / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.002751, allocations: 59.88 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.002763, allocations: 3.984 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.00278, allocations: 4 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.002901, allocations: 59.81 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002903, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002904, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.002908, allocations: 0 / 0.9827 GB, free: 0.8086 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.0003222/0.00323, allocations: 258.3 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00327, allocations: 12.03 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.0033, allocations: 34.75 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.003442, allocations: 16.91 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.64e-05/0.003509, allocations: 105.8 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.003519, allocations: 4.375 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003527, allocations: 4.312 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.00363, allocations: 67.95 kB / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003636, allocations: 192 / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.003644, allocations: 384 / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.003651, allocations: 12.12 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.00369, allocations: 15.98 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.003811, allocations: 124.7 kB / 0.9833 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.004702, allocations: 262.5 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.004733, allocations: 28.78 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.004744, allocations: 4 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.0049, allocations: 30.56 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.004901, allocations: 0 / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001393/0.005041, allocations: 61.69 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.005069, allocations: 63.22 kB / 0.9837 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.005109, allocations: 93.86 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005119, allocations: 25.7 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.005137, allocations: 80.14 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.005164, allocations: 19.95 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.00519, allocations: 17.72 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.005263, allocations: 318.8 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.00528, allocations: 8 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.005294, allocations: 11.98 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.005332, allocations: 24.86 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.005334, allocations: 4 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.03e-05/0.005395, allocations: 58 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005407, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005412, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005422, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.005461, allocations: 15.88 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.005468, allocations: 4 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.005483, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.005488, allocations: 4 kB / 0.9844 GB, free: 14.85 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.014e-05/0.005538, allocations: 109.8 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.005545, allocations: 3.984 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.005566, allocations: 7.531 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005568, allocations: 0 / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.005573, allocations: 3.938 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005575, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.696e-05/0.005642, allocations: 124.8 kB / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005643, allocations: 4 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.005662, allocations: 7.984 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005663, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005669, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.00567, allocations: 4 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.005672, allocations: 3.938 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.056e-05/0.005743, allocations: 85.02 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.005781, allocations: 8 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.005789, allocations: 3.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.005819, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.005832, allocations: 7.938 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005836, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.005856, allocations: 75.28 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.005857, allocations: 0 / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001309/0.005987, allocations: 12 kB / 0.9849 GB, free: 14.32 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.0002286/0.006216, allocations: 0.6047 MB / 0.9854 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.006297, allocations: 31.88 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.006299, allocations: 0 / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.006313, allocations: 15.98 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.006491, allocations: 12.03 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.006809, allocations: 146.4 kB / 0.9856 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.006846, allocations: 59.34 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.006879, allocations: 8 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.006915, allocations: 8.5 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/0.006916, allocations: 0 / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02196, allocations: 2.013 MB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.727, allocations: 2.656 kB / 0.9877 GB, free: 11.48 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.992412469349802]