Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001157/0.001157, allocations: 109 kB / 17.54 MB, free: 4.746 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.001249/0.001249, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] 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.549/2.549, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 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_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 71.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7547, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001844/0.7565, allocations: 1.295 MB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.7576, allocations: 0.8821 MB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.7577, allocations: 0 / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.7577, allocations: 1.469 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.7577, allocations: 5.422 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.7583, allocations: 204.3 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.7583, allocations: 18.61 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.7583, allocations: 2.328 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.7584, allocations: 13.64 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.7584, allocations: 6.922 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.7584, allocations: 0 / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.7588, allocations: 235.9 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.7588, allocations: 4.953 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.7588, allocations: 13.58 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.759, allocations: 150 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.759, allocations: 0.7812 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.759, allocations: 0 / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.759, allocations: 0 / 1.274 GB, free: 6 MB / 0.9981 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.000301/0.7593, allocations: 353.3 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.7594, allocations: 10.22 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.023e-05/0.7594, allocations: 39.84 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.7595, allocations: 9.328 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.265e-05/0.7596, allocations: 168.8 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.7596, allocations: 1.688 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.7596, allocations: 5.875 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.7597, allocations: 43.03 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7597, allocations: 0.9375 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.7597, allocations: 0 / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.7597, allocations: 1.062 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.7598, allocations: 15 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.51e-05/0.7599, allocations: 159.2 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.7607, allocations: 138.6 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.7607, allocations: 20.16 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.7608, allocations: 87.03 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.7608, allocations: 36.33 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7608, allocations: 3.938 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001418/0.7609, allocations: 68.02 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.7609, allocations: 52.5 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.929e-05/0.761, allocations: 95.02 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.761, allocations: 25.7 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-06/0.761, allocations: 84.95 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.761, allocations: 11.55 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.761, allocations: 22.56 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.7611, allocations: 312.5 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.7611, allocations: 9.641 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.7611, allocations: 10.97 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.7612, allocations: 24.66 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7612, allocations: 0.7812 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.425e-05/0.7612, allocations: 61.59 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.7612, allocations: 7.281 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7612, allocations: 4 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.7613, allocations: 0.6562 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.7613, allocations: 7.969 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.7613, allocations: 0.9062 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.7613, allocations: 4 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.7613, allocations: 1.625 kB / 1.276 GB, free: 4.188 MB / 0.9981 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 3.746e-05/0.7614, allocations: 111.9 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.7614, allocations: 2.062 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.7616, allocations: 86.97 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.7616, allocations: 1.688 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7616, allocations: 1.031 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.7616, allocations: 0 / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.825e-05/0.7616, allocations: 164.1 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7616, allocations: 0 / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.7617, allocations: 14.11 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7617, allocations: 0.875 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.7617, allocations: 0.8125 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7617, allocations: 0 / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7617, allocations: 0.9375 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.7618, allocations: 84.64 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.7618, allocations: 85.03 kB / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.7618, allocations: 2.922 kB / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.7619, allocations: 12.94 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.7619, allocations: 6.75 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.7619, allocations: 3.562 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.322e-05/0.7619, allocations: 80.12 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7619, allocations: 0 / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000225/0.7621, allocations: 50.09 kB / 1.277 GB, free: 3.52 MB / 0.9981 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.0004285/0.7626, allocations: 0.6868 MB / 1.277 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.025e-05/0.7626, allocations: 25.34 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7627, allocations: 0 / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.7627, allocations: 15.56 kB / 1.277 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.7628, allocations: 10.8 kB / 1.277 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.7632, allocations: 179.7 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.7632, allocations: 0.6797 MB / 1.278 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.7633, allocations: 15.78 kB / 1.278 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.7633, allocations: 10.53 kB / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7633, allocations: 0 / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.7854, allocations: 1.967 MB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.864, allocations: 4.984 kB / 1.28 GB, free: 1.559 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.195442063999508]