Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 102.2 kB / 16.27 MB, free: 6 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.001432/0.001432, allocations: 191 kB / 17.2 MB, free: 5.609 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.194/2.194, allocations: 390.2 MB / 0.6653 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 64.31 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2748, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002834/0.2777, allocations: 1.284 MB / 0.9515 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6344/0.9121, allocations: 147.6 MB / 1.096 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.9122, allocations: 1.094 kB / 1.096 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.9122, allocations: 5.172 kB / 1.096 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.9123, allocations: 11.41 kB / 1.096 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.9127, allocations: 115.8 kB / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.9128, allocations: 28.12 kB / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.9129, allocations: 2.797 kB / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.9129, allocations: 5.359 kB / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.9129, allocations: 7.688 kB / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.913, allocations: 0 / 1.096 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.9134, allocations: 171 kB / 1.096 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.9134, allocations: 9.812 kB / 1.096 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.9135, allocations: 13.83 kB / 1.096 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.9137, allocations: 107.3 kB / 1.096 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9137, allocations: 0 / 1.096 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9137, allocations: 0.75 kB / 1.096 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9138, allocations: 0 / 1.096 GB, free: 5.871 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005845/0.9143, allocations: 356.6 kB / 1.096 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9144, allocations: 8.781 kB / 1.097 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005882/0.915, allocations: 38.94 kB / 1.097 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.9151, allocations: 163.4 kB / 1.097 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.9152, allocations: 4.594 kB / 1.097 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.9152, allocations: 1.5 kB / 1.097 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.9154, allocations: 51.22 kB / 1.097 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.9154, allocations: 0 / 1.097 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.9154, allocations: 1.641 kB / 1.097 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9154, allocations: 5.594 kB / 1.097 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.9156, allocations: 16.61 kB / 1.097 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.9159, allocations: 255.5 kB / 1.097 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.916, allocations: 32.34 kB / 1.097 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.916, allocations: 12.92 kB / 1.097 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.916, allocations: 0.6875 kB / 1.097 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.9161, allocations: 34.64 kB / 1.097 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9161, allocations: 0 / 1.097 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0001574/0.9162, allocations: 43.62 kB / 1.097 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.9163, allocations: 52.59 kB / 1.097 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.9164, allocations: 118.2 kB / 1.097 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9165, allocations: 26.48 kB / 1.097 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.9165, allocations: 85.25 kB / 1.097 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.9165, allocations: 12.72 kB / 1.097 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.9166, allocations: 18.34 kB / 1.097 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9167, allocations: 320.6 kB / 1.098 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.9168, allocations: 8.406 kB / 1.098 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.9169, allocations: 14.34 kB / 1.098 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.917, allocations: 23.16 kB / 1.098 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.917, allocations: 0.7188 kB / 1.098 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002019/0.9172, allocations: 58.42 kB / 1.098 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9172, allocations: 5.203 kB / 1.098 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.9172, allocations: 0.75 kB / 1.098 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.9172, allocations: 0 / 1.098 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.9173, allocations: 16.53 kB / 1.098 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.9174, allocations: 0.6562 kB / 1.098 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.9175, allocations: 11.83 kB / 1.098 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.9175, allocations: 7.031 kB / 1.098 GB, free: 20.21 MB / 0.8731 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 7.764e-05/0.9176, allocations: 111.2 kB / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.9176, allocations: 1.031 kB / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.9177, allocations: 6.328 kB / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9177, allocations: 4.969 kB / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9177, allocations: 0 / 1.098 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.9177, allocations: 5.453 kB / 1.098 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.9179, allocations: 158.3 kB / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9179, allocations: 0 / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.9179, allocations: 3.375 kB / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9179, allocations: 0.6562 kB / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.9179, allocations: 1.672 kB / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.9179, allocations: 0 / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9179, allocations: 5.359 kB / 1.098 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.918, allocations: 138.5 kB / 1.098 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.9181, allocations: 79.86 kB / 1.098 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.9181, allocations: 1.234 kB / 1.098 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.9182, allocations: 2.578 kB / 1.098 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.9183, allocations: 5.469 kB / 1.098 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.9183, allocations: 3.812 kB / 1.098 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.803e-05/0.9184, allocations: 95.61 kB / 1.098 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9184, allocations: 0 / 1.098 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000257/0.9186, allocations: 19.91 kB / 1.098 GB, free: 19.57 MB / 0.8731 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 (2): * Single equations (assignments): 2 * 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.0001704/0.9188, allocations: 111.3 kB / 1.099 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.919, allocations: 16.91 kB / 1.099 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.919, allocations: 0 / 1.099 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.919, allocations: 11.89 kB / 1.099 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.9193, allocations: 6.938 kB / 1.099 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.9196, allocations: 152.4 kB / 1.099 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.9199, allocations: 0.6761 MB / 1.099 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.9199, allocations: 11.22 kB / 1.099 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9199, allocations: 0 / 1.099 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.002483/0.9224, allocations: 0.817 MB / 1.1 GB, free: 18.58 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches