Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_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_10_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.001522/0.001522, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001686/0.001686, allocations: 187 kB / 17.34 MB, free: 5.719 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 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.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8423, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00262/0.8449, allocations: 1.29 MB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.9957, allocations: 147.6 MB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.9958, allocations: 3.938 kB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.9958, allocations: 0 / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.9959, allocations: 7.938 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.9964, allocations: 115.5 kB / 1.313 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.9965, allocations: 19.88 kB / 1.313 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.9965, allocations: 7.969 kB / 1.313 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.9966, allocations: 8 kB / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.9966, allocations: 11.94 kB / 1.313 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.9966, allocations: 0 / 1.313 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.9971, allocations: 175.6 kB / 1.313 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.9971, allocations: 0 / 1.313 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.9971, allocations: 15.92 kB / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.9974, allocations: 107.5 kB / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9974, allocations: 0 / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9974, allocations: 4 kB / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9974, allocations: 0 / 1.313 GB, free: 13.84 MB / 1.045 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.0003497/0.9977, allocations: 357.4 kB / 1.314 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9978, allocations: 12.92 kB / 1.314 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.9984, allocations: 32.89 kB / 1.314 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.9985, allocations: 160.4 kB / 1.314 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.9985, allocations: 3.938 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.9986, allocations: 4 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.9987, allocations: 57.59 kB / 1.314 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.9987, allocations: 0 / 1.314 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.9988, allocations: 0 / 1.314 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9988, allocations: 0 / 1.314 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.9989, allocations: 15.98 kB / 1.314 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.9993, allocations: 264.9 kB / 1.314 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.9993, allocations: 18.58 kB / 1.314 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.9994, allocations: 12.92 kB / 1.314 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.9994, allocations: 7.938 kB / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.9994, allocations: 30.56 kB / 1.314 GB, free: 12.72 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9994, allocations: 0 / 1.314 GB, free: 12.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.9996, allocations: 45.69 kB / 1.314 GB, free: 12.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.9996, allocations: 51.41 kB / 1.314 GB, free: 12.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.9998, allocations: 109.8 kB / 1.314 GB, free: 12.49 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.9998, allocations: 25.7 kB / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.9999, allocations: 91.92 kB / 1.314 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.9999, allocations: 11.89 kB / 1.314 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.9999, allocations: 21.7 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000106/1, allocations: 318.9 kB / 1.315 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/1, allocations: 19.86 kB / 1.315 GB, free: 11.99 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/1, allocations: 11.98 kB / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/1, allocations: 16.86 kB / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1, allocations: 0 / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001916/1, allocations: 61.66 kB / 1.315 GB, free: 11.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.001, allocations: 10.5 kB / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.001, allocations: 0 / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.001, allocations: 0 / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.001, allocations: 11.98 kB / 1.315 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.001, allocations: 0 / 1.315 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/1.001, allocations: 7.938 kB / 1.315 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/1.001, allocations: 11.92 kB / 1.315 GB, free: 11.85 MB / 1.045 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.352e-05/1.001, allocations: 109.8 kB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/1.001, allocations: 0 / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/1.001, allocations: 11.12 kB / 1.315 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.001, allocations: 0 / 1.315 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.001, allocations: 0 / 1.315 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.001, allocations: 3.938 kB / 1.315 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/1.001, allocations: 153.6 kB / 1.315 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.001, allocations: 0 / 1.315 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/1.001, allocations: 4 kB / 1.315 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.001, allocations: 3.984 kB / 1.315 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/1.001, allocations: 0 / 1.315 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.001, allocations: 4 kB / 1.315 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.001, allocations: 0 / 1.315 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/1.001, allocations: 139.5 kB / 1.315 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/1.001, allocations: 81.09 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.001, allocations: 3.938 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.002, allocations: 4 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/1.002, allocations: 4.031 kB / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/1.002, allocations: 3.938 kB / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.211e-05/1.002, allocations: 95.58 kB / 1.316 GB, free: 11.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 3.938 kB / 1.316 GB, free: 11.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002474/1.002, allocations: 12 kB / 1.316 GB, free: 11.13 MB / 1.045 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.0001751/1.002, allocations: 111.2 kB / 1.316 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001411/1.002, allocations: 23.98 kB / 1.316 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.002, allocations: 0 / 1.316 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/1.002, allocations: 4 kB / 1.316 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/1.003, allocations: 11.98 kB / 1.316 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/1.003, allocations: 152.8 kB / 1.316 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.003, allocations: 0.6768 MB / 1.316 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/1.003, allocations: 11.5 kB / 1.316 GB, free: 10.08 MB / 1.045 GB Notification: Performance of SimCode: time 2.1e-07/1.003, allocations: 0 / 1.316 GB, free: 10.08 MB / 1.045 GB Notification: Performance of Templates: time 0.002259/1.006, allocations: 0.8071 MB / 1.317 GB, free: 9.277 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches