Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001753/0.001753, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 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.00207/0.00207, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.49 GB / 0.7923 GB, free: 1.426 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 176.1 MB / 1.321 GB, free: 24.92 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002138/1.138, allocations: 1.3 MB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001324/1.139, allocations: 0.9222 MB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/1.139, allocations: 0 / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/1.139, allocations: 3.938 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/1.139, allocations: 10.25 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/1.14, allocations: 205.4 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/1.14, allocations: 20.38 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/1.14, allocations: 7.469 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/1.14, allocations: 9.688 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/1.14, allocations: 6.719 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/1.14, allocations: 2.75 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/1.141, allocations: 249.6 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/1.141, allocations: 0 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/1.141, allocations: 13.72 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/1.141, allocations: 154.5 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.141, allocations: 2.531 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.141, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.141, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 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.0004183/1.141, allocations: 368.5 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.141, allocations: 19.39 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/1.141, allocations: 192 / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.138e-05/1.141, allocations: 34.75 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/1.142, allocations: 20.23 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.235e-05/1.142, allocations: 160.4 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.142, allocations: 4.125 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/1.142, allocations: 6.531 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.142, allocations: 44.45 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.142, allocations: 3.984 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.142, allocations: 0 / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.142, allocations: 0 / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/1.142, allocations: 19.73 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/1.142, allocations: 154.7 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/1.143, allocations: 137.6 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/1.143, allocations: 16.86 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/1.143, allocations: 86.05 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/1.143, allocations: 30.56 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/1.143, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001773/1.143, allocations: 70.38 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/1.143, allocations: 51.41 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.173e-05/1.143, allocations: 93.86 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.143, allocations: 28.33 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/1.143, allocations: 80.14 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.143, allocations: 15.08 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/1.143, allocations: 19 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/1.144, allocations: 311 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/1.144, allocations: 16.98 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/1.144, allocations: 3.219 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/1.144, allocations: 35.5 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.144, allocations: 3.938 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.586e-05/1.144, allocations: 62.72 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.144, allocations: 7.281 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.144, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.144, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/1.144, allocations: 9.469 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.144, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/1.144, allocations: 11.95 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.144, allocations: 2.656 kB / 1.326 GB, free: 21.3 MB / 1.061 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.584e-05/1.144, allocations: 114.3 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/1.144, allocations: 0 / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/1.144, allocations: 85.05 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.144, allocations: 3.297 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.144, allocations: 0 / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.144, allocations: 0 / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/1.144, allocations: 166 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.144, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/1.144, allocations: 12.03 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.144, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/1.144, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.144, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.144, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/1.144, allocations: 94.3 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/1.144, allocations: 91.17 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.144, allocations: 0 / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/1.144, allocations: 0 / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/1.144, allocations: 6.312 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.144, allocations: 4 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.519e-05/1.145, allocations: 82.16 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.145, allocations: 0 / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002483/1.145, allocations: 54.48 kB / 1.327 GB, free: 20.64 MB / 1.061 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 (5): * Single equations (assignments): 5 * 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.0004023/1.145, allocations: 0.6809 MB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001108/1.145, allocations: 30.97 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.145, allocations: 4.094 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/1.145, allocations: 11.72 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/1.145, allocations: 13.06 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/1.146, allocations: 178.3 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/1.146, allocations: 0.6771 MB / 1.328 GB, free: 19.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.795e-05/1.146, allocations: 9.438 kB / 1.328 GB, free: 19.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/1.146, allocations: 13.56 kB / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.146, allocations: 0 / 1.328 GB, free: 19.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/1.168, allocations: 2.058 MB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.849, allocations: 18.11 kB / 1.33 GB, free: 18.7 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: 16.966763250995427]