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.001609/0.001609, allocations: 109.2 kB / 16.41 MB, free: 6.504 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.001813/0.001813, allocations: 188 kB / 17.34 MB, free: 5.738 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 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.5/2.5, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 60.14 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9215, allocations: 151.7 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002549/0.9241, allocations: 1.26 MB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.9247, allocations: 301.5 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.9248, allocations: 0 / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.9248, allocations: 0 / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.9248, allocations: 7.922 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.9251, allocations: 43.75 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.9252, allocations: 15.94 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.9252, allocations: 8 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.9253, allocations: 11.94 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.9253, allocations: 11.97 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.9254, allocations: 0 / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.9255, allocations: 55.95 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.9255, allocations: 4 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.9255, allocations: 11.94 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.9257, allocations: 51.67 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9257, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.068e-06/0.9257, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.9257, allocations: 3.938 kB / 1.169 GB, free: 2.016 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.0004342/0.9262, allocations: 340.1 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9262, allocations: 8.922 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.9264, allocations: 16.92 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.9266, allocations: 164.4 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.9266, allocations: 384 / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.9266, allocations: 4.375 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.9267, allocations: 42.25 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9267, allocations: 192 / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.9268, allocations: 11.94 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9268, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.9268, allocations: 15.98 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.927, allocations: 153.6 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.9287, allocations: 270.5 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.9288, allocations: 20.84 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.9288, allocations: 0 / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.9288, allocations: 30.56 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9289, allocations: 4 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.929, allocations: 73.45 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.9291, allocations: 59.41 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.9292, allocations: 89.86 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.9292, allocations: 25.7 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.9292, allocations: 84.12 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.9293, allocations: 15.89 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.9293, allocations: 13.67 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9295, allocations: 318.8 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.9295, allocations: 7.984 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.9295, allocations: 12.12 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.9296, allocations: 29.08 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9296, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.9297, allocations: 65.61 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9297, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9297, allocations: 3.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9298, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.9298, allocations: 8 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9298, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.9299, allocations: 4 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.9299, allocations: 7.984 kB / 1.171 GB, free: 15.93 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 8.557e-05/0.93, allocations: 109.8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.93, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.93, allocations: 11.44 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.93, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9301, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.9301, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.9302, allocations: 153.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.9302, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.9303, allocations: 8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9303, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.9303, allocations: 7.875 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9303, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9303, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.9304, allocations: 81.11 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.9305, allocations: 81.06 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.9305, allocations: 7.938 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.9306, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.9306, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.9306, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.9307, allocations: 83.28 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9307, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001748/0.9309, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 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.0001339/0.931, allocations: 103.2 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.9311, allocations: 28.02 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9311, allocations: 7.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.9312, allocations: 12 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.9314, allocations: 11.98 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.9318, allocations: 126.4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.9321, allocations: 0.6768 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.9322, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.9322, allocations: 11.44 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9322, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.002896/0.9351, allocations: 0.5167 MB / 1.173 GB, free: 13.72 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 -s cvode -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