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.007089/0.007089, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001767/0.001767, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8237, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001931/0.8256, allocations: 1.237 MB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.8264, allocations: 0.621 MB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.8265, allocations: 1.25 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.8265, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.8265, allocations: 8.453 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.8269, allocations: 132.8 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.827, allocations: 8.766 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.827, allocations: 2.812 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.827, allocations: 12.64 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.8271, allocations: 4.672 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.8271, allocations: 1.125 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.8275, allocations: 225.6 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.8275, allocations: 4.609 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.8275, allocations: 12.17 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.8277, allocations: 127.1 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8277, allocations: 0.8438 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8278, allocations: 0 / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.8278, allocations: 0.6094 kB / 1.09 GB, free: 3.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002904/0.8281, allocations: 349 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.8281, allocations: 9.25 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.325e-05/0.8281, allocations: 40.25 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8282, allocations: 12.39 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.279e-05/0.8283, allocations: 163 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.8283, allocations: 1.344 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.8283, allocations: 1.531 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.214e-05/0.8284, allocations: 40.78 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.8284, allocations: 4.938 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.8285, allocations: 3.938 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8285, allocations: 1.531 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.8285, allocations: 15.67 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.596e-05/0.8286, allocations: 153.4 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.8288, allocations: 47.81 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.8288, allocations: 17.23 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.8288, allocations: 1.812 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.8288, allocations: 31.5 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8289, allocations: 4 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005179/0.8294, allocations: 308.1 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.8294, allocations: 53.45 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.49e-05/0.8294, allocations: 93.86 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.8294, allocations: 25.7 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.8295, allocations: 85.88 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.8295, allocations: 20.31 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.8295, allocations: 27.61 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.8296, allocations: 313.1 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.8296, allocations: 10.75 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.8296, allocations: 8 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.8297, allocations: 32.5 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.8297, allocations: 1.062 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.199e-05/0.8298, allocations: 58.36 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8298, allocations: 9.531 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.8298, allocations: 4.938 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8298, allocations: 0 / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.8299, allocations: 16 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8299, allocations: 0 / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.8299, allocations: 5.875 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.8299, allocations: 1.516 kB / 1.092 GB, free: 1.809 MB / 0.8575 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.158e-05/0.83, allocations: 109 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.83, allocations: 5 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.8301, allocations: 76.3 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8301, allocations: 9.016 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8301, allocations: 5.094 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.8302, allocations: 0.5156 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.8302, allocations: 161.7 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8302, allocations: 3.938 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.8303, allocations: 16.61 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8303, allocations: 3.938 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.8303, allocations: 5.062 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8303, allocations: 2.047 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8303, allocations: 0 / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8305, allocations: 111.8 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.8305, allocations: 81.7 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.8305, allocations: 1.75 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.8306, allocations: 2.578 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.8306, allocations: 7.531 kB / 1.092 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.8306, allocations: 6.25 kB / 1.092 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.046e-05/0.8306, allocations: 75.28 kB / 1.092 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8306, allocations: 64 / 1.092 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001809/0.8308, allocations: 11.22 kB / 1.092 GB, free: 1.137 MB / 0.8575 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.0003079/0.8311, allocations: 0.6453 MB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.8312, allocations: 36.67 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8312, allocations: 0 / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.8313, allocations: 22.97 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.8314, allocations: 6.922 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.8323, allocations: 1.162 MB / 1.094 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.8325, allocations: 0.6786 MB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.8326, allocations: 4.312 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.8326, allocations: 14.69 kB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8326, allocations: 0 / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.8497, allocations: 1.366 MB / 1.096 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/8.144, allocations: 7.25 kB / 1.096 GB, free: 14.33 MB / 0.8731 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