Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001909/0.001909, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.00205/0.00205, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.604/1.604, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.881/2.881, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.603e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003116/0.003142, allocations: 1.662 MB / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.209/0.2121, allocations: 147.2 MB / 0.9317 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2122, allocations: 3.938 kB / 0.9317 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2124, allocations: 15.81 kB / 0.9317 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.2127, allocations: 47.69 kB / 0.9317 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2131, allocations: 159.2 kB / 0.9319 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2133, allocations: 127.5 kB / 0.932 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2135, allocations: 25.52 kB / 0.932 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.2153, allocations: 252.2 kB / 0.9323 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.2153, allocations: 31.89 kB / 0.9323 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2153, allocations: 8 kB / 0.9323 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.2157, allocations: 179.6 kB / 0.9325 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.2158, allocations: 23.91 kB / 0.9325 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.2158, allocations: 27.94 kB / 0.9325 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2163, allocations: 215.3 kB / 0.9328 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2163, allocations: 0 / 0.9328 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2163, allocations: 4 kB / 0.9328 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2163, allocations: 0 / 0.9328 GB, free: 5.371 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006895/0.217, allocations: 463.5 kB / 0.9332 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.217, allocations: 8.031 kB / 0.9332 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.218, allocations: 103.8 kB / 0.9333 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.2183, allocations: 151.9 kB / 0.9334 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2183, allocations: 11.94 kB / 0.9335 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.2184, allocations: 4 kB / 0.9335 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2188, allocations: 129.5 kB / 0.9336 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2188, allocations: 7.922 kB / 0.9336 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2188, allocations: 0 / 0.9336 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2188, allocations: 4 kB / 0.9336 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.2192, allocations: 103.9 kB / 0.9337 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.22, allocations: 391.4 kB / 0.9341 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.2206, allocations: 155.2 kB / 0.9342 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2208, allocations: 71.53 kB / 0.9343 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2208, allocations: 0 / 0.9343 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2208, allocations: 37.39 kB / 0.9343 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.2208, allocations: 0 / 0.9343 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005924/0.2214, allocations: 161.6 kB / 0.9345 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.2215, allocations: 55.41 kB / 0.9345 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2217, allocations: 204.5 kB / 0.9347 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2217, allocations: 29.7 kB / 0.9348 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2218, allocations: 158.8 kB / 0.9349 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.2219, allocations: 31.88 kB / 0.9349 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.2219, allocations: 27.38 kB / 0.935 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.2222, allocations: 0.5 MB / 0.9355 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2223, allocations: 35.97 kB / 0.9355 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.2225, allocations: 126.8 kB / 0.9356 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.2228, allocations: 91.77 kB / 0.9357 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2228, allocations: 0 / 0.9357 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003747/0.2232, allocations: 129.5 kB / 0.9358 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2232, allocations: 8 kB / 0.9358 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2232, allocations: 0 / 0.9358 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2232, allocations: 4.031 kB / 0.9358 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2234, allocations: 23.92 kB / 0.9359 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2234, allocations: 0 / 0.9359 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2236, allocations: 11.98 kB / 0.9359 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2236, allocations: 7.938 kB / 0.9359 GB, free: 1.949 MB / 0.8386 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 (8): * Single equations (assignments): 8 * 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 0.0001243/0.2237, allocations: 160.6 kB / 0.936 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.2237, allocations: 15.89 kB / 0.936 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.2238, allocations: 20.77 kB / 0.9361 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2238, allocations: 4 kB / 0.9361 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2238, allocations: 0 / 0.9361 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2238, allocations: 0 / 0.9361 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.2246, allocations: 429.1 kB / 0.9365 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2246, allocations: 0 / 0.9365 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.2247, allocations: 27.98 kB / 0.9365 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2247, allocations: 0 / 0.9365 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2248, allocations: 7.984 kB / 0.9365 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2248, allocations: 0 / 0.9365 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2248, allocations: 0 / 0.9365 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.2253, allocations: 279.7 kB / 0.9368 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.2253, allocations: 11.91 kB / 0.9368 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.2253, allocations: 0 / 0.9368 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2255, allocations: 15.98 kB / 0.9368 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2255, allocations: 11.98 kB / 0.9368 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2255, allocations: 8 kB / 0.9368 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001101/0.2256, allocations: 153.2 kB / 0.937 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.2256, allocations: 0 / 0.937 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002648/0.2259, allocations: 27.94 kB / 0.937 GB, free: 0.7305 MB / 0.8386 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 (8): * Single equations (assignments): 8 * 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.0001893/0.2261, allocations: 115.2 kB / 0.9371 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.2265, allocations: 111.5 kB / 0.9372 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2265, allocations: 0 / 0.9372 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2267, allocations: 55.66 kB / 0.9373 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2271, allocations: 36.44 kB / 0.9373 GB, free: 412 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.2276, allocations: 230 kB / 0.9375 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.2277, allocations: 88.17 kB / 0.9376 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.2278, allocations: 28.64 kB / 0.9376 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.2279, allocations: 20.48 kB / 0.9376 GB, free: 0 / 0.8386 GB Notification: Performance of SimCode: time 6.32e-07/0.2279, allocations: 128 / 0.9376 GB, free: 16 MB / 0.8542 GB Notification: Performance of Templates: time 0.00596/0.2339, allocations: 2.026 MB / 0.9396 GB, free: 14.03 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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: 8.141775520984083]