Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008885/0.008885, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001769/0.001769, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7453 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3742, allocations: 159.9 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.005799/0.3801, allocations: 1.923 MB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9291/1.309, allocations: 155.4 MB / 1.379 GB, free: 4.379 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/1.309, allocations: 0.9062 kB / 1.379 GB, free: 4.379 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/1.31, allocations: 29.89 kB / 1.379 GB, free: 4.355 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/1.31, allocations: 80.19 kB / 1.379 GB, free: 4.301 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/1.311, allocations: 252.6 kB / 1.38 GB, free: 4.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/1.311, allocations: 271.9 kB / 1.38 GB, free: 4.051 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/1.311, allocations: 65.83 kB / 1.38 GB, free: 4.023 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/1.313, allocations: 253.4 kB / 1.38 GB, free: 3.941 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/1.313, allocations: 95.94 kB / 1.38 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/1.313, allocations: 15.22 kB / 1.38 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/1.313, allocations: 182.2 kB / 1.38 GB, free: 3.852 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/1.313, allocations: 42.56 kB / 1.38 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/1.313, allocations: 93.39 kB / 1.381 GB, free: 3.773 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/1.314, allocations: 291.1 kB / 1.381 GB, free: 3.668 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.314, allocations: 0 / 1.381 GB, free: 3.668 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/1.314, allocations: 0 / 1.381 GB, free: 3.668 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.314, allocations: 1.25 kB / 1.381 GB, free: 3.668 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000981/1.315, allocations: 0.5321 MB / 1.381 GB, free: 3.207 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.315, allocations: 13.44 kB / 1.381 GB, free: 3.203 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/1.316, allocations: 78.52 kB / 1.381 GB, free: 3.195 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/1.316, allocations: 234.1 kB / 1.382 GB, free: 2.965 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/1.316, allocations: 50.19 kB / 1.382 GB, free: 2.922 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/1.316, allocations: 13.19 kB / 1.382 GB, free: 2.918 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/1.317, allocations: 272.5 kB / 1.382 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.317, allocations: 1.375 kB / 1.382 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/1.317, allocations: 9.312 kB / 1.382 GB, free: 2.746 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.317, allocations: 4.594 kB / 1.382 GB, free: 2.746 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/1.317, allocations: 171.7 kB / 1.382 GB, free: 2.668 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/1.319, allocations: 1.181 MB / 1.383 GB, free: 1.559 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/1.32, allocations: 204.1 kB / 1.383 GB, free: 1.461 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/1.32, allocations: 70.78 kB / 1.384 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/1.32, allocations: 1.281 kB / 1.384 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.32, allocations: 40.06 kB / 1.384 GB, free: 1.375 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/1.32, allocations: 4 kB / 1.384 GB, free: 1.371 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.002662/1.323, allocations: 0.6221 MB / 1.384 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.323, allocations: 60.94 kB / 1.384 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/1.323, allocations: 212.4 kB / 1.384 GB, free: 0.707 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/1.323, allocations: 27.08 kB / 1.384 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/1.323, allocations: 139.3 kB / 1.385 GB, free: 0.543 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/1.323, allocations: 53.28 kB / 1.385 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.323, allocations: 45.19 kB / 1.385 GB, free: 472 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.323, allocations: 330.5 kB / 1.385 GB, free: 136 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.324, allocations: 68.69 kB / 1.385 GB, free: 104 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/1.324, allocations: 130.5 kB / 1.385 GB, free: 15.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/1.324, allocations: 196.9 kB / 1.385 GB, free: 15.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.324, allocations: 5.062 kB / 1.385 GB, free: 15.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001452/1.326, allocations: 376 kB / 1.386 GB, free: 15.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.326, allocations: 6.781 kB / 1.386 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.326, allocations: 2.5 kB / 1.386 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.327, allocations: 165.3 kB / 1.386 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/1.327, allocations: 38.44 kB / 1.386 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/1.331, allocations: 3.256 MB / 1.389 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/1.332, allocations: 37.39 kB / 1.389 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/1.332, allocations: 6.906 kB / 1.389 GB, free: 12.32 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/1.332, allocations: 146.2 kB / 1.389 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/1.332, allocations: 16.41 kB / 1.389 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/1.334, allocations: 362.7 kB / 1.39 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.334, allocations: 2.406 kB / 1.39 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/1.334, allocations: 0 / 1.39 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.334, allocations: 3.984 kB / 1.39 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/1.334, allocations: 279.5 kB / 1.39 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.334, allocations: 3.938 kB / 1.39 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/1.334, allocations: 23.77 kB / 1.39 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008329/1.335, allocations: 148.7 kB / 1.39 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.335, allocations: 0 / 1.39 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/1.339, allocations: 3.294 MB / 1.393 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.339, allocations: 0 / 1.393 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.341, allocations: 438.4 kB / 1.394 GB, free: 8.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/1.341, allocations: 117.8 kB / 1.394 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/1.341, allocations: 5.406 kB / 1.394 GB, free: 7.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/1.341, allocations: 23.83 kB / 1.394 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/1.341, allocations: 15.61 kB / 1.394 GB, free: 7.918 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/1.341, allocations: 8.453 kB / 1.394 GB, free: 7.914 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002324/1.342, allocations: 160.5 kB / 1.394 GB, free: 7.797 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.342, allocations: 1.031 kB / 1.394 GB, free: 7.797 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000536/1.342, allocations: 65.84 kB / 1.394 GB, free: 7.789 MB / 1.092 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/1.342, allocations: 124 kB / 1.394 GB, free: 7.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.343, allocations: 451.9 kB / 1.395 GB, free: 7.344 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.343, allocations: 0 / 1.395 GB, free: 7.344 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/1.344, allocations: 360.8 kB / 1.395 GB, free: 7.047 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/1.345, allocations: 63.11 kB / 1.395 GB, free: 7.012 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.346, allocations: 421.7 kB / 1.396 GB, free: 6.738 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.346, allocations: 0.7361 MB / 1.396 GB, free: 6.016 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001943/1.346, allocations: 37.36 kB / 1.396 GB, free: 5.996 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/1.346, allocations: 19.12 kB / 1.396 GB, free: 5.988 MB / 1.092 GB Notification: Performance of SimCode: time 3.8e-07/1.346, allocations: 4 kB / 1.396 GB, free: 5.984 MB / 1.092 GB Notification: Performance of Templates: time 0.01201/1.358, allocations: 5.347 MB / 1.402 GB, free: 3.27 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches