Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 192.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9103, allocations: 140.4 MB / 0.9491 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002321/0.9126, allocations: 1.334 MB / 0.9504 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.9139, allocations: 0.8282 MB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.914, allocations: 1.281 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.914, allocations: 0 / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.9141, allocations: 7.922 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.9146, allocations: 116.5 kB / 0.9513 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.9147, allocations: 25.27 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.9147, allocations: 1.281 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.9148, allocations: 18.02 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.9148, allocations: 8.266 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.9149, allocations: 1.531 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.9152, allocations: 168.3 kB / 0.9515 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.9152, allocations: 17.06 kB / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.9152, allocations: 4.594 kB / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.9155, allocations: 126.7 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9155, allocations: 0 / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9155, allocations: 4 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9155, allocations: 0 / 0.9517 GB, free: 7.332 MB / 0.7169 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.0004087/0.9159, allocations: 364 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.916, allocations: 9.281 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.916, allocations: 2.594 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.039e-05/0.9161, allocations: 161.8 kB / 0.9522 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.9162, allocations: 32.92 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.9162, allocations: 1.812 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.9163, allocations: 50.61 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9164, allocations: 3.938 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.9164, allocations: 1.406 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9164, allocations: 0 / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.9165, allocations: 19.39 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.9166, allocations: 165.5 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.9168, allocations: 42 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.9169, allocations: 24.2 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.9172, allocations: 178.4 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.9172, allocations: 42.55 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9172, allocations: 0 / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.9174, allocations: 81.19 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.9175, allocations: 53 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.472e-05/0.9175, allocations: 92.42 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.9175, allocations: 26.92 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.443e-05/0.9176, allocations: 80.14 kB / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.9176, allocations: 18.09 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.9176, allocations: 16.52 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.9177, allocations: 316.1 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.9177, allocations: 10.56 kB / 0.9534 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.9178, allocations: 13.48 kB / 0.9534 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.9179, allocations: 28.97 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9179, allocations: 1.281 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.918, allocations: 54.81 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.918, allocations: 9.062 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.918, allocations: 0 / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.918, allocations: 1.188 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.9181, allocations: 15.23 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9181, allocations: 3.984 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.9182, allocations: 5.438 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.9182, allocations: 1.406 kB / 0.9535 GB, free: 5.371 MB / 0.7169 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.492e-05/0.9182, allocations: 106.8 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.9182, allocations: 10.22 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.9184, allocations: 71.75 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9184, allocations: 0 / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9184, allocations: 5.156 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9184, allocations: 0 / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.9185, allocations: 159.2 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9185, allocations: 0 / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.9186, allocations: 6.594 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9186, allocations: 3.938 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.9186, allocations: 1.125 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9186, allocations: 1.031 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9186, allocations: 0 / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.9188, allocations: 88.14 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.9188, allocations: 84.48 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.9188, allocations: 7.938 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.9189, allocations: 2.469 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.9189, allocations: 2.469 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.9189, allocations: 5 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.919, allocations: 86.31 kB / 0.9541 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.919, allocations: 0 / 0.9541 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002373/0.9192, allocations: 38.44 kB / 0.9542 GB, free: 4.688 MB / 0.7169 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.0002173/0.9194, allocations: 140.6 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.9196, allocations: 30.08 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9196, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.9197, allocations: 17.33 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.92, allocations: 11.95 kB / 0.9544 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.9203, allocations: 125.7 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.9205, allocations: 0.6859 MB / 0.9551 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.9205, allocations: 6.75 kB / 0.9552 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.9206, allocations: 10.38 kB / 0.9552 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9206, allocations: 0 / 0.9552 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.003766/0.9243, allocations: 1.041 MB / 0.9562 GB, free: 3.168 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches