Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001474/0.001474, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.596/2.596, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005402, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.025, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00164/1.027, allocations: 0.9706 MB / 0.9545 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005053/1.027, allocations: 211.5 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/1.027, allocations: 1.375 kB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/1.027, allocations: 0 / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/1.027, allocations: 0 / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/1.028, allocations: 41.06 kB / 0.9547 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/1.028, allocations: 9.016 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/1.028, allocations: 1.312 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/1.028, allocations: 16.55 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/1.028, allocations: 8.562 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/1.028, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/1.028, allocations: 47.83 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/1.028, allocations: 1.156 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/1.028, allocations: 27.52 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/1.028, allocations: 33.98 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/1.028, allocations: 0 / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/1.028, allocations: 0.9062 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/1.028, allocations: 0 / 0.9549 GB, free: 7.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003486/1.029, allocations: 332 kB / 0.9552 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.029, allocations: 9.281 kB / 0.9552 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/1.029, allocations: 13.64 kB / 0.9552 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.214e-05/1.029, allocations: 168.1 kB / 0.9554 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.029, allocations: 1.312 kB / 0.9554 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/1.029, allocations: 6.062 kB / 0.9554 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/1.029, allocations: 45.81 kB / 0.9554 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/1.029, allocations: 3.984 kB / 0.9554 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.029, allocations: 8 kB / 0.9554 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.029, allocations: 5.266 kB / 0.9554 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/1.029, allocations: 7.438 kB / 0.9554 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/1.03, allocations: 159.2 kB / 0.9556 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/1.03, allocations: 41.91 kB / 0.9556 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/1.03, allocations: 1 kB / 0.9556 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.03, allocations: 39.53 kB / 0.9557 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/1.03, allocations: 0 / 0.9557 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002081/1.032, allocations: 0.4944 MB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.032, allocations: 52.78 kB / 0.9562 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.659e-05/1.032, allocations: 89.86 kB / 0.9563 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/1.032, allocations: 31.14 kB / 0.9563 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/1.032, allocations: 80.14 kB / 0.9564 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/1.032, allocations: 25.97 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/1.032, allocations: 1 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/1.032, allocations: 315.9 kB / 0.9567 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/1.032, allocations: 26.97 kB / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/1.032, allocations: 28.3 kB / 0.9568 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/1.032, allocations: 27.59 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.032, allocations: 1.188 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001553/1.032, allocations: 83.56 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.032, allocations: 4.406 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.032, allocations: 1.062 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.032, allocations: 128 / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.033, allocations: 28.23 kB / 0.9569 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.033, allocations: 4.984 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/1.033, allocations: 1.062 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/1.033, allocations: 5.344 kB / 0.9569 GB, free: 4.977 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/1.033, allocations: 111.8 kB / 0.957 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/1.033, allocations: 2.562 kB / 0.957 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/1.033, allocations: 11.97 kB / 0.957 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.033, allocations: 1.031 kB / 0.957 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.033, allocations: 8.984 kB / 0.957 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.033, allocations: 3.953 kB / 0.957 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/1.033, allocations: 172.4 kB / 0.9572 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.033, allocations: 5.078 kB / 0.9572 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.033, allocations: 19.19 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.033, allocations: 1.094 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/1.033, allocations: 0 / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.033, allocations: 0.9688 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.033, allocations: 0.9062 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/1.033, allocations: 149.2 kB / 0.9574 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.034, allocations: 86.09 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/1.034, allocations: 5.016 kB / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.034, allocations: 12 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/1.034, allocations: 3.094 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.034, allocations: 1.031 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.925e-05/1.034, allocations: 76.62 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 0 / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/1.034, allocations: 12.97 kB / 0.9576 GB, free: 4.301 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/1.034, allocations: 116.9 kB / 0.9577 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001791/1.034, allocations: 60.67 kB / 0.9577 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.034, allocations: 0 / 0.9577 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/1.034, allocations: 34.95 kB / 0.9578 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.035, allocations: 2.656 kB / 0.9578 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/1.035, allocations: 197.7 kB / 0.958 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/1.035, allocations: 0.6837 MB / 0.9586 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.623e-05/1.036, allocations: 10.44 kB / 0.9586 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/1.036, allocations: 11.03 kB / 0.9587 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/1.036, allocations: 0 / 0.9587 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.00301/1.039, allocations: 0.6323 MB / 0.9593 GB, free: 2.961 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches