Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001958/0.001958, allocations: 195.1 kB / 16.91 MB, free: 6.184 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.357/2.357, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.97 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003219/0.288, allocations: 1.558 MB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2894, allocations: 0.7992 MB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.2894, allocations: 0 / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.2895, allocations: 3.938 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.2896, allocations: 11.92 kB / 0.9521 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.2902, allocations: 119.6 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2903, allocations: 59.73 kB / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2904, allocations: 11.98 kB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.2905, allocations: 19.92 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.2905, allocations: 23.92 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2906, allocations: 8 kB / 0.9523 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.2909, allocations: 179.7 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.291, allocations: 7.938 kB / 0.9525 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.291, allocations: 27.86 kB / 0.9525 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.2912, allocations: 108 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2913, allocations: 0 / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2913, allocations: 0 / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2913, allocations: 0 / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005945/0.2919, allocations: 403.2 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2919, allocations: 8.031 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.292, allocations: 12.78 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2921, allocations: 164.4 kB / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2921, allocations: 384 / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2921, allocations: 384 / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2924, allocations: 78.19 kB / 0.9533 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2924, allocations: 8.125 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.2925, allocations: 15.94 kB / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2925, allocations: 0 / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2928, allocations: 63.92 kB / 0.9533 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.2932, allocations: 284.7 kB / 0.9536 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.2934, allocations: 62.48 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2936, allocations: 36.91 kB / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.2938, allocations: 97.09 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2939, allocations: 38.56 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2939, allocations: 4 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005426/0.2944, allocations: 125.5 kB / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2945, allocations: 55.39 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.2946, allocations: 113.8 kB / 0.9541 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2946, allocations: 33.7 kB / 0.9542 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.2946, allocations: 84.14 kB / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2947, allocations: 7.906 kB / 0.9542 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.2947, allocations: 25.64 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2948, allocations: 314.8 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.295, allocations: 31.95 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2951, allocations: 35.97 kB / 0.9546 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.2954, allocations: 64.78 kB / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2954, allocations: 0 / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/0.2957, allocations: 105.5 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2957, allocations: 4 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2957, allocations: 0 / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2957, allocations: 0 / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2959, allocations: 23.91 kB / 0.9548 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2959, allocations: 0 / 0.9548 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.296, allocations: 15.98 kB / 0.9548 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.296, allocations: 0 / 0.9548 GB, free: 3.766 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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 8.075e-05/0.2961, allocations: 121.3 kB / 0.9549 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.2961, allocations: 3.906 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.2965, allocations: 105.5 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2965, allocations: 3.938 kB / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2965, allocations: 384 / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2965, allocations: 0 / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2967, allocations: 177.6 kB / 0.9552 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2967, allocations: 4 kB / 0.9552 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.2968, allocations: 11.98 kB / 0.9552 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2968, allocations: 7.984 kB / 0.9552 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2968, allocations: 11.86 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2968, allocations: 0 / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2968, allocations: 0 / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2972, allocations: 195.4 kB / 0.9554 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.2972, allocations: 88.95 kB / 0.9555 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2972, allocations: 0 / 0.9555 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2974, allocations: 19.97 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2974, allocations: 4 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2974, allocations: 0 / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.2975, allocations: 95.27 kB / 0.9556 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2975, allocations: 4 kB / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002986/0.2978, allocations: 28 kB / 0.9557 GB, free: 2.797 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.0002343/0.298, allocations: 135.2 kB / 0.9558 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2984, allocations: 71.86 kB / 0.9559 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2984, allocations: 4 kB / 0.9559 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2985, allocations: 31.97 kB / 0.9559 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2989, allocations: 15.91 kB / 0.9559 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.2992, allocations: 192.8 kB / 0.9561 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2995, allocations: 0.6844 MB / 0.9568 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.2995, allocations: 15.44 kB / 0.9568 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.2995, allocations: 0 / 0.9568 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.002998/0.3026, allocations: 1.207 MB / 0.958 GB, free: 392 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches