Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.001046/0.001046, 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.0011/0.001101, allocations: 191.6 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.265/2.265, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6125/0.6139, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001954/0.6159, allocations: 1.309 MB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005011/0.6164, allocations: 322.7 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.181e-05/0.6164, allocations: 0 / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.6164, allocations: 3.938 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.6165, allocations: 1.375 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.6167, allocations: 50.94 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.6168, allocations: 14.81 kB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.6168, allocations: 10.72 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.6168, allocations: 6.75 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.6169, allocations: 4.125 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.6169, allocations: 3.938 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.617, allocations: 70.67 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.6171, allocations: 9.156 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.6171, allocations: 6.281 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.6172, allocations: 47.06 kB / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6172, allocations: 3.938 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6172, allocations: 0 / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6172, allocations: 1.25 kB / 0.9509 GB, free: 7.812 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.0002976/0.6175, allocations: 336.3 kB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6176, allocations: 9.156 kB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.6176, allocations: 35.97 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.6177, allocations: 11.64 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.781e-05/0.6178, allocations: 161.6 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.6178, allocations: 1.812 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.6178, allocations: 5.625 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.6179, allocations: 46.14 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.6179, allocations: 3.938 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.6179, allocations: 4 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.618, allocations: 1.406 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.618, allocations: 18.89 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.6181, allocations: 153.9 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.6183, allocations: 45.16 kB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.6183, allocations: 17.08 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.6183, allocations: 5.438 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.6183, allocations: 38.64 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.6183, allocations: 1.531 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00126/0.6196, allocations: 400.6 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.6196, allocations: 55.41 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.71e-05/0.6197, allocations: 95.09 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.6197, allocations: 25.7 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.513e-05/0.6197, allocations: 81.61 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.6197, allocations: 15.69 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.6198, allocations: 21.95 kB / 0.9524 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.6198, allocations: 312.3 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.6198, allocations: 15.78 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.6199, allocations: 21.16 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.62, allocations: 49.22 kB / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.62, allocations: 0 / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.6201, allocations: 84.48 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6201, allocations: 9.219 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6201, allocations: 4 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6201, allocations: 1.188 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.6202, allocations: 17.61 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6202, allocations: 1.25 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.6203, allocations: 0 / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.6203, allocations: 6.406 kB / 0.9529 GB, free: 5.738 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.574e-05/0.6204, allocations: 114.9 kB / 0.953 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.6204, allocations: 6.5 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.6206, allocations: 98.81 kB / 0.9531 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6206, allocations: 5.594 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6206, allocations: 0 / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.6206, allocations: 0 / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.6207, allocations: 174.8 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6207, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.6208, allocations: 9.562 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6208, allocations: 5.156 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.6208, allocations: 0 / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6208, allocations: 1.219 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6208, allocations: 0 / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.621, allocations: 127.6 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.621, allocations: 83.3 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.621, allocations: 3.984 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.6211, allocations: 7.719 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.6211, allocations: 2.656 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.6211, allocations: 1.469 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.097e-05/0.6212, allocations: 76.66 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6212, allocations: 4.062 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001789/0.6213, allocations: 7.188 kB / 0.9536 GB, free: 5.023 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.0002972/0.6216, allocations: 0.6673 MB / 0.9542 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.6218, allocations: 46.61 kB / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6218, allocations: 64 / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.6218, allocations: 30.08 kB / 0.9543 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.622, allocations: 3.719 kB / 0.9543 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.6227, allocations: 1.188 MB / 0.9555 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.6228, allocations: 0.6795 MB / 0.9561 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.964e-05/0.6229, allocations: 11.69 kB / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.623, allocations: 17.8 kB / 0.9562 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.623, allocations: 0 / 0.9562 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.6426, allocations: 1.496 MB / 0.9576 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.6429, allocations: 265.3 kB / 0.9579 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.227, allocations: 0 / 0.9579 GB, free: 1.434 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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:T,der(T),der(y),der(y_comp),err,time,y,y_comp