Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001035, allocations: 108 kB / 15.6 MB, free: 132 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.001021/0.001021, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.167/2.167, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6609, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002247/0.6632, allocations: 1.242 MB / 0.9509 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.664, allocations: 0.6215 MB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.6641, allocations: 0 / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.6641, allocations: 0 / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.818e-05/0.6641, allocations: 1.688 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.6645, allocations: 128 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.6646, allocations: 15.98 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.6646, allocations: 5.031 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.6646, allocations: 12.08 kB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.6647, allocations: 7.734 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.6647, allocations: 0 / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.665, allocations: 221.6 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.665, allocations: 1.812 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.6651, allocations: 6.5 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.6653, allocations: 136.9 kB / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6653, allocations: 0 / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6653, allocations: 4 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.6653, allocations: 0 / 0.9521 GB, free: 7.359 MB / 0.7169 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.0002947/0.6656, allocations: 347 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6656, allocations: 12.94 kB / 0.9524 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.6657, allocations: 32.16 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6658, allocations: 14.05 kB / 0.9525 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.554e-05/0.6658, allocations: 164.4 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.6659, allocations: 5.344 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6659, allocations: 2.438 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.666, allocations: 40.69 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.666, allocations: 3.938 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.666, allocations: 5 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.666, allocations: 3.938 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.6661, allocations: 14.91 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.672e-05/0.6662, allocations: 152.7 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.6663, allocations: 47.98 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.6663, allocations: 19.75 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.6664, allocations: 1.844 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.6664, allocations: 30.56 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6664, allocations: 3.938 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004947/0.6669, allocations: 304 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.6669, allocations: 52.88 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.385e-05/0.6669, allocations: 93.86 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.6669, allocations: 25.7 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.291e-05/0.667, allocations: 81.61 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.667, allocations: 21.08 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.667, allocations: 19.47 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.6671, allocations: 310.8 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.6671, allocations: 18.77 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.6671, allocations: 6.594 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.6672, allocations: 30.7 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6672, allocations: 0 / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.906e-05/0.6673, allocations: 72.11 kB / 0.9539 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6673, allocations: 9.219 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.6673, allocations: 0 / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6673, allocations: 0 / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.6674, allocations: 14.81 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6674, allocations: 0 / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.6674, allocations: 9.281 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.6674, allocations: 5 kB / 0.954 GB, free: 5.348 MB / 0.7169 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 (7): * Single equations (assignments): 7 * 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 3.989e-05/0.6674, allocations: 108.2 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.6675, allocations: 9.344 kB / 0.9541 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.6676, allocations: 77.36 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6676, allocations: 1.438 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6676, allocations: 0 / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.6676, allocations: 0 / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.914e-05/0.6677, allocations: 156.9 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6677, allocations: 4 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.6677, allocations: 15.33 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6677, allocations: 3.938 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.6678, allocations: 5.875 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6678, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6678, allocations: 80 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.6679, allocations: 116.4 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.6679, allocations: 85.95 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.6679, allocations: 9.281 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.668, allocations: 1.062 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.668, allocations: 2.906 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.668, allocations: 6 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.157e-06/0.668, allocations: 75.28 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.668, allocations: 0 / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001743/0.6682, allocations: 6.406 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (7): * Single equations (assignments): 7 * 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.0002478/0.6685, allocations: 0.65 MB / 0.9552 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.6686, allocations: 37.12 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6686, allocations: 0 / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.6686, allocations: 25.11 kB / 0.9553 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.6687, allocations: 2.312 kB / 0.9553 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.6694, allocations: 1.17 MB / 0.9564 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.949e-05/0.6695, allocations: 0.6842 MB / 0.9571 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.6696, allocations: 10.64 kB / 0.9571 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.6696, allocations: 10.03 kB / 0.9571 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6696, allocations: 0 / 0.9571 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.6856, allocations: 1.335 MB / 0.9584 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.037, allocations: 8.406 kB / 0.9584 GB, free: 1.441 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:der(p_w),der(y),der(y_comp),err,p_w,time,y,y_comp