Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001832/0.001832, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.88 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9338, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002677/0.9365, allocations: 1.266 MB / 1.169 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000674/0.9372, allocations: 293.5 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.9373, allocations: 4 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.9374, allocations: 0 / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.9374, allocations: 7.938 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.9378, allocations: 47.73 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.9379, allocations: 15.94 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.9379, allocations: 11.98 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.938, allocations: 7.938 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.9381, allocations: 8 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.9381, allocations: 0 / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.9382, allocations: 55.94 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.9383, allocations: 8 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.9383, allocations: 11.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.9384, allocations: 43.56 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9384, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9385, allocations: 4 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9385, allocations: 0 / 1.169 GB, free: 2.07 MB / 0.8887 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.0003812/0.9388, allocations: 333.5 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9389, allocations: 8.922 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.9391, allocations: 28.84 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.9393, allocations: 168.3 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9393, allocations: 384 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.9393, allocations: 384 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.9394, allocations: 42.25 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.9394, allocations: 192 / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.9395, allocations: 3.938 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9395, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.9395, allocations: 19.98 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.9397, allocations: 165.6 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.9417, allocations: 262.4 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.9417, allocations: 24.86 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.9417, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.9418, allocations: 38.55 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.9418, allocations: 0 / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.9419, allocations: 61.62 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.942, allocations: 51.41 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.942, allocations: 101.8 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.9421, allocations: 25.83 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.9421, allocations: 88.12 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.9421, allocations: 11.75 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.9422, allocations: 17.72 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.9423, allocations: 314.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.9423, allocations: 12 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.9423, allocations: 15.94 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.9424, allocations: 29.11 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9424, allocations: 0 / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.958e-05/0.9425, allocations: 53.7 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.9425, allocations: 8 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9425, allocations: 112 / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.9425, allocations: 11.86 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.9426, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9426, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.9427, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9427, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 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 6.639e-05/0.9427, allocations: 109.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.9428, allocations: 8 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.9428, allocations: 11.44 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9428, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9428, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.9429, allocations: 81.09 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.9429, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.943, allocations: 7.938 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.943, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001268/0.9431, allocations: 136.9 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001465/0.9433, allocations: 230.8 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.648e-05/0.9433, allocations: 8 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.9433, allocations: 79.28 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Backend: time 3.51e-07/0.9434, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.9438, allocations: 114.3 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004181/0.9442, allocations: 0.5698 MB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.002825/0.947, allocations: 0.7484 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches