Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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.001029/0.001029, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.3 kB / 16.92 MB, free: 6.773 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 462.6 MB / 0.737 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 9.688 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00141/0.2692, allocations: 1.021 MB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.4227, allocations: 143.8 MB / 1.201 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.4228, allocations: 0 / 1.201 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.4228, allocations: 0 / 1.201 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.4229, allocations: 11.92 kB / 1.201 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.4233, allocations: 95.61 kB / 1.201 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.4234, allocations: 19.88 kB / 1.201 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.4234, allocations: 4 kB / 1.201 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.4235, allocations: 7.938 kB / 1.201 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.4235, allocations: 4 kB / 1.201 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.4235, allocations: 0 / 1.201 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.4239, allocations: 183.6 kB / 1.201 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.424, allocations: 4 kB / 1.201 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.424, allocations: 37.62 kB / 1.201 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.4242, allocations: 84.08 kB / 1.201 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4242, allocations: 0 / 1.201 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4242, allocations: 0 / 1.201 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.4242, allocations: 4 kB / 1.201 GB, free: 3.191 MB / 0.9512 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.0003847/0.4246, allocations: 343.5 kB / 1.202 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4246, allocations: 8.031 kB / 1.202 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.4252, allocations: 36.89 kB / 1.202 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4254, allocations: 172.2 kB / 1.202 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4254, allocations: 7.938 kB / 1.202 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.4254, allocations: 0 / 1.202 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4256, allocations: 45.67 kB / 1.202 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4256, allocations: 3.938 kB / 1.202 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4256, allocations: 4 kB / 1.202 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4256, allocations: 3.984 kB / 1.202 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4258, allocations: 11.98 kB / 1.202 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.4262, allocations: 256.9 kB / 1.202 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.4262, allocations: 22.56 kB / 1.202 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.4263, allocations: 12.92 kB / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.4263, allocations: 0 / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4263, allocations: 38.5 kB / 1.202 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4263, allocations: 4 kB / 1.202 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.4265, allocations: 37.7 kB / 1.202 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4265, allocations: 51.41 kB / 1.202 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4267, allocations: 113.8 kB / 1.202 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.4267, allocations: 25.7 kB / 1.202 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4267, allocations: 80.14 kB / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.4267, allocations: 7.906 kB / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.4268, allocations: 13.84 kB / 1.202 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4269, allocations: 318.8 kB / 1.203 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.427, allocations: 7.984 kB / 1.203 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.427, allocations: 15.98 kB / 1.203 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.4271, allocations: 20.78 kB / 1.203 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4271, allocations: 0 / 1.203 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002589/0.4274, allocations: 69.52 kB / 1.203 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4274, allocations: 4 kB / 1.203 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4274, allocations: 0 / 1.203 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4275, allocations: 0 / 1.203 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4276, allocations: 12.31 kB / 1.203 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4276, allocations: 0 / 1.203 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4278, allocations: 15.92 kB / 1.203 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.4278, allocations: 8 kB / 1.203 GB, free: 1.23 MB / 0.9512 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.932e-05/0.4279, allocations: 105.8 kB / 1.203 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.4279, allocations: 7.875 kB / 1.203 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.4279, allocations: 15.09 kB / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4279, allocations: 0 / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.428, allocations: 0 / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.428, allocations: 3.938 kB / 1.203 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4281, allocations: 153.7 kB / 1.203 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4281, allocations: 0 / 1.203 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.4282, allocations: 4 kB / 1.203 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4282, allocations: 4 kB / 1.203 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.4282, allocations: 0 / 1.203 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4282, allocations: 0 / 1.203 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4282, allocations: 0 / 1.203 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.4283, allocations: 135.5 kB / 1.203 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.4284, allocations: 93 kB / 1.203 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4284, allocations: 4 kB / 1.203 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.4285, allocations: 8.031 kB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.4285, allocations: 0 / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4285, allocations: 3.938 kB / 1.203 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001275/0.4286, allocations: 95.2 kB / 1.203 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.4287, allocations: 0 / 1.203 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003872/0.4291, allocations: 19.94 kB / 1.203 GB, free: 0.5 MB / 0.9512 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.000207/0.4293, allocations: 111.2 kB / 1.204 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4294, allocations: 19.98 kB / 1.204 GB, free: 372 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4295, allocations: 0 / 1.204 GB, free: 372 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.4295, allocations: 4 kB / 1.204 GB, free: 368 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4299, allocations: 11.92 kB / 1.204 GB, free: 356 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.4303, allocations: 164.2 kB / 1.204 GB, free: 152 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4306, allocations: 0.677 MB / 1.204 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.4307, allocations: 11.44 kB / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.4307, allocations: 0 / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.002835/0.4335, allocations: 0.8005 MB / 1.205 GB, free: 14.64 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches