Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") translateModel(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009448, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.000982/0.0009819, allocations: 172.7 kB / 15.95 MB, free: 208 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.391 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.386/2.386, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7315, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.00127/0.7328, allocations: 0.979 MB / 0.9554 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.734, allocations: 0.7704 MB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.734, allocations: 1.125 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.7341, allocations: 3.938 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.7341, allocations: 5.062 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.7345, allocations: 115.4 kB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.7346, allocations: 41.66 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.7346, allocations: 1.125 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.7347, allocations: 21.36 kB / 0.9563 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.7348, allocations: 19.77 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.7348, allocations: 2.5 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.7352, allocations: 190.8 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.7352, allocations: 13.08 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.7352, allocations: 29.11 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.7354, allocations: 99.62 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7354, allocations: 0 / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7354, allocations: 1.562 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7354, allocations: 0 / 0.9567 GB, free: 6.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003592/0.7358, allocations: 372.9 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7358, allocations: 10 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.7359, allocations: 9.359 kB / 0.957 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.736, allocations: 169.8 kB / 0.9572 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.736, allocations: 1.438 kB / 0.9572 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.736, allocations: 6.25 kB / 0.9572 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.7361, allocations: 78.03 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7362, allocations: 0 / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.7362, allocations: 1.156 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7362, allocations: 5.047 kB / 0.9573 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.7363, allocations: 31.16 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.7384, allocations: 2.092 MB / 0.9594 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.7385, allocations: 182.4 kB / 0.9595 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.7385, allocations: 80.14 kB / 0.9596 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7386, allocations: 75.28 kB / 0.9597 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.7386, allocations: 110.8 kB / 0.9598 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7386, allocations: 1.344 kB / 0.9598 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.872e-05/0.7387, allocations: 31.22 kB / 0.9598 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7387, allocations: 130.7 kB / 0.9599 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.7388, allocations: 131.7 kB / 0.9601 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.7388, allocations: 25.7 kB / 0.9601 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.7389, allocations: 107.3 kB / 0.9602 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.7389, allocations: 0 / 0.9602 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.7389, allocations: 1.938 kB / 0.9602 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.739, allocations: 318.8 kB / 0.9605 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.739, allocations: 5.406 kB / 0.9605 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.739, allocations: 38.56 kB / 0.9605 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.7391, allocations: 16.95 kB / 0.9606 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7391, allocations: 0 / 0.9606 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001535/0.7392, allocations: 71.64 kB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7393, allocations: 5.906 kB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7393, allocations: 5.406 kB / 0.9606 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7393, allocations: 1.344 kB / 0.9606 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.7394, allocations: 17.17 kB / 0.9606 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7394, allocations: 1.156 kB / 0.9606 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.7394, allocations: 6.531 kB / 0.9607 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.7395, allocations: 6.594 kB / 0.9607 GB, free: 1.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 5.554e-05/0.7395, allocations: 186.4 kB / 0.9608 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.7396, allocations: 108.8 kB / 0.9609 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.7396, allocations: 121.6 kB / 0.9611 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.7396, allocations: 181.6 kB / 0.9612 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.7396, allocations: 181.6 kB / 0.9614 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.7397, allocations: 180.2 kB / 0.9616 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.7398, allocations: 412.1 kB / 0.962 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.7398, allocations: 108.9 kB / 0.9621 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.7399, allocations: 106.4 kB / 0.9622 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.721e-05/0.7399, allocations: 185.6 kB / 0.9624 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.74, allocations: 184.2 kB / 0.9625 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-05/0.7401, allocations: 177.6 kB / 0.9627 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.772e-05/0.7401, allocations: 181.6 kB / 0.9629 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.7403, allocations: 307.9 kB / 0.9632 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.7404, allocations: 188.7 kB / 0.9633 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.7405, allocations: 181.6 kB / 0.9635 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.7405, allocations: 114.2 kB / 0.9636 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.7406, allocations: 180.3 kB / 0.9638 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.7407, allocations: 110.2 kB / 0.9639 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.987e-05/0.7408, allocations: 102.8 kB / 0.964 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7408, allocations: 0 / 0.964 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003173/0.7411, allocations: 58.3 kB / 0.9641 GB, free: 14.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003192/0.7414, allocations: 246.8 kB / 0.9643 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.7415, allocations: 19.69 kB / 0.9643 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7415, allocations: 0 / 0.9643 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.7415, allocations: 1.312 kB / 0.9643 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.742, allocations: 0.5251 MB / 0.9648 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.7423, allocations: 236.9 kB / 0.9651 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.7426, allocations: 0.678 MB / 0.9657 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.7426, allocations: 15.81 kB / 0.9657 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.7427, allocations: 10.12 kB / 0.9657 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7427, allocations: 1.219 kB / 0.9657 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.004674/0.7473, allocations: 1.388 MB / 0.9671 GB, free: 11.65 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches