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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001789/0.001789, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6272, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001988/0.6292, allocations: 1.304 MB / 0.9503 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.63, allocations: 0.6302 MB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.015e-05/0.63, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.6301, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.6301, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.6304, allocations: 112.9 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.6305, allocations: 14.86 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.6305, allocations: 1.375 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.6305, allocations: 8.125 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.6306, allocations: 10.73 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.6306, allocations: 5.312 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.6309, allocations: 216.7 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.6309, allocations: 9.359 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.6309, allocations: 6.734 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.6312, allocations: 124.5 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.6312, allocations: 3.938 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.6312, allocations: 0 / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.6312, allocations: 0 / 0.9514 GB, free: 7.285 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.0002935/0.6315, allocations: 359.2 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6315, allocations: 9.562 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.6316, allocations: 36.12 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.6317, allocations: 12.86 kB / 0.9518 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.94e-05/0.6318, allocations: 161.5 kB / 0.952 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.6318, allocations: 5.453 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.6318, allocations: 1.781 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.6319, allocations: 45.25 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.6319, allocations: 3.938 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.6319, allocations: 0 / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6319, allocations: 1.438 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.632, allocations: 16.83 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.993e-05/0.6321, allocations: 157.8 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6322, allocations: 39.88 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.6322, allocations: 20.3 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6323, allocations: 3.984 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.6323, allocations: 36.41 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.6323, allocations: 0 / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004958/0.6328, allocations: 307.8 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.6328, allocations: 51.41 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.396e-05/0.6328, allocations: 99.17 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.6328, allocations: 29.7 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/0.6329, allocations: 80.14 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.6329, allocations: 14.31 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.6329, allocations: 27.36 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.633, allocations: 315.8 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.633, allocations: 5.219 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.633, allocations: 15.02 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.6331, allocations: 30.8 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6331, allocations: 4.969 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.1e-05/0.6332, allocations: 66.66 kB / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6332, allocations: 11.66 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6332, allocations: 0 / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6332, allocations: 1.25 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.6333, allocations: 9 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6333, allocations: 1.25 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.6333, allocations: 3.984 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6333, allocations: 1.281 kB / 0.9533 GB, free: 5.266 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 4.151e-05/0.6334, allocations: 116.4 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.6334, allocations: 5.219 kB / 0.9535 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.6335, allocations: 78.17 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6335, allocations: 3.984 kB / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6335, allocations: 1.547 kB / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6335, allocations: 0 / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.362e-05/0.6336, allocations: 155.8 kB / 0.9537 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6336, allocations: 1.406 kB / 0.9537 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.6337, allocations: 10.66 kB / 0.9537 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6337, allocations: 11.92 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.6337, allocations: 1.25 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6337, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6337, allocations: 3.984 kB / 0.9537 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.6338, allocations: 109.8 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.6339, allocations: 86.3 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.6339, allocations: 1.344 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.6339, allocations: 9.422 kB / 0.9539 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.6339, allocations: 5.375 kB / 0.9539 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.634, allocations: 2.125 kB / 0.9539 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.634, allocations: 75.28 kB / 0.954 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.634, allocations: 0 / 0.954 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001754/0.6342, allocations: 10.16 kB / 0.954 GB, free: 4.574 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.0002554/0.6344, allocations: 0.6545 MB / 0.9546 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.6345, allocations: 40.78 kB / 0.9547 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6345, allocations: 0 / 0.9547 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.6345, allocations: 17.56 kB / 0.9547 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.6347, allocations: 5.5 kB / 0.9547 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.6353, allocations: 1.168 MB / 0.9558 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.6354, allocations: 0.684 MB / 0.9565 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.6355, allocations: 5.375 kB / 0.9565 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.6355, allocations: 14.34 kB / 0.9565 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6355, allocations: 0 / 0.9565 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.6457, allocations: 1.209 MB / 0.9577 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.6459, allocations: 284.1 kB / 0.958 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.213, allocations: 4.094 kB / 0.958 GB, free: 1.117 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