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.001074/0.001074, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00645/0.00645, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.169/1.169, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.08/2.08, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5136/0.5139, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.0009126/0.5148, allocations: 0.9775 MB / 0.9561 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004604/0.5153, allocations: 316.9 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-06/0.5153, allocations: 1.219 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.5153, allocations: 0 / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.653e-05/0.5154, allocations: 0 / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.5156, allocations: 51.98 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.846e-05/0.5156, allocations: 11.55 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.5157, allocations: 1.312 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.5157, allocations: 11.53 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.5157, allocations: 6.953 kB / 0.9565 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.5158, allocations: 1.438 kB / 0.9565 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.5159, allocations: 77.41 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-06/0.5159, allocations: 1.438 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.5159, allocations: 32.8 kB / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.516, allocations: 53.83 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.516, allocations: 0.9688 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.516, allocations: 0 / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.516, allocations: 0 / 0.9567 GB, free: 6.516 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.000218/0.5163, allocations: 326.3 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5163, allocations: 9.625 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.5163, allocations: 30.75 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5164, allocations: 13.77 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.768e-05/0.5165, allocations: 168.4 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.5165, allocations: 5.312 kB / 0.9572 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5165, allocations: 1.75 kB / 0.9572 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.5166, allocations: 42.66 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.5166, allocations: 3.938 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.5166, allocations: 0 / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.5166, allocations: 5.625 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.5167, allocations: 14.11 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.34e-05/0.5168, allocations: 155.3 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.5169, allocations: 53.33 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.517, allocations: 24.12 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.517, allocations: 1.406 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.517, allocations: 34.56 kB / 0.9575 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.517, allocations: 4.812 kB / 0.9575 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.5181, allocations: 396.4 kB / 0.9579 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.5181, allocations: 53.16 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.245e-05/0.5181, allocations: 93.86 kB / 0.9581 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.5181, allocations: 26.77 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.055e-05/0.5182, allocations: 80.14 kB / 0.9582 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.5182, allocations: 14.88 kB / 0.9582 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.5182, allocations: 15.78 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.5182, allocations: 319.8 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.5183, allocations: 12.66 kB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.5183, allocations: 21.52 kB / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.5184, allocations: 45.39 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.5184, allocations: 0 / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.5185, allocations: 85.48 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5185, allocations: 9.094 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5185, allocations: 80 / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5185, allocations: 1.438 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.5186, allocations: 8.344 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5186, allocations: 5.484 kB / 0.9587 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.5187, allocations: 3.984 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.5187, allocations: 2.438 kB / 0.9587 GB, free: 4.457 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.137e-05/0.5187, allocations: 115.3 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.5188, allocations: 5.438 kB / 0.9588 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.5189, allocations: 100.9 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5189, allocations: 336 / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5189, allocations: 4 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.519, allocations: 1.844 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.338e-05/0.519, allocations: 168.8 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.519, allocations: 3.984 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.5191, allocations: 10.78 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5191, allocations: 7.875 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5191, allocations: 5.781 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5191, allocations: 4.062 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5191, allocations: 0 / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5193, allocations: 132.5 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.5193, allocations: 82.42 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.5193, allocations: 0 / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.5194, allocations: 8.141 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.5194, allocations: 3.375 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.5194, allocations: 9.219 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.676e-06/0.5195, allocations: 75.28 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5195, allocations: 0 / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000173/0.5196, allocations: 11.12 kB / 0.9594 GB, free: 3.723 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.0002549/0.5199, allocations: 0.6596 MB / 0.96 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.52, allocations: 50.14 kB / 0.9601 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.52, allocations: 0 / 0.9601 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.5201, allocations: 22.81 kB / 0.9601 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.5202, allocations: 14.42 kB / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.5209, allocations: 1.192 MB / 0.9613 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.847e-05/0.521, allocations: 0.6752 MB / 0.9619 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.521, allocations: 11.23 kB / 0.962 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.5211, allocations: 10.62 kB / 0.962 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5211, allocations: 0 / 0.962 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009844/0.5309, allocations: 1.439 MB / 0.9634 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.5311, allocations: 270.7 kB / 0.9636 GB, free: 236 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.048, allocations: 0 / 0.9636 GB, free: 236 kB / 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