Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.266/2.266, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6667, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001752/0.6685, allocations: 0.6635 MB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.6698, allocations: 1.365 MB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.6699, allocations: 1.375 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.6699, allocations: 7.922 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.67, allocations: 9.297 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.6704, allocations: 104.5 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.6705, allocations: 48.5 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.6706, allocations: 17.08 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.6707, allocations: 23.48 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.6707, allocations: 25.84 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.6707, allocations: 4.312 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.671, allocations: 141.1 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.671, allocations: 13.05 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.6711, allocations: 17.44 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.6713, allocations: 126.6 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6713, allocations: 0 / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6713, allocations: 0 / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6713, allocations: 4 kB / 0.9522 GB, free: 7.199 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.0004696/0.6718, allocations: 388 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6718, allocations: 10.06 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.6719, allocations: 31.81 kB / 0.9526 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.6723, allocations: 31.38 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.6724, allocations: 177.6 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6724, allocations: 5.844 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.6724, allocations: 2.719 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.6727, allocations: 79.34 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6727, allocations: 3.938 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6727, allocations: 1.469 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6727, allocations: 5.703 kB / 0.9529 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.673, allocations: 68.5 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.6735, allocations: 321 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.6738, allocations: 83.95 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.6739, allocations: 34.19 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.6739, allocations: 0 / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.674, allocations: 31.72 kB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.674, allocations: 4 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005071/0.6745, allocations: 130.7 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.6745, allocations: 55.34 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.6746, allocations: 115 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.6746, allocations: 29.7 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.6747, allocations: 89.7 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.6747, allocations: 14.83 kB / 0.9539 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.6747, allocations: 17.12 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.6748, allocations: 328 kB / 0.9542 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6749, allocations: 33.12 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.675, allocations: 35.94 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.6753, allocations: 66.69 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6753, allocations: 3.938 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003116/0.6756, allocations: 106.5 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6757, allocations: 4.812 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6757, allocations: 0 / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6757, allocations: 1.156 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6758, allocations: 24.25 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6759, allocations: 0 / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.676, allocations: 9.078 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.676, allocations: 6.406 kB / 0.9545 GB, free: 5.07 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 (5): * Single equations (assignments): 5 * 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 5.655e-05/0.676, allocations: 120.4 kB / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.6761, allocations: 5.312 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.6761, allocations: 9.125 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6761, allocations: 1.25 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6761, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6761, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6763, allocations: 181 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6763, allocations: 0 / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6764, allocations: 18.45 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6764, allocations: 0 / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6764, allocations: 6.203 kB / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6764, allocations: 192 / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6764, allocations: 0 / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.6768, allocations: 203.4 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.6768, allocations: 82.52 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.6768, allocations: 4 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.677, allocations: 13.61 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.677, allocations: 5.938 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.677, allocations: 1.469 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.677, allocations: 91.05 kB / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6771, allocations: 0 / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.6773, allocations: 26.53 kB / 0.9552 GB, free: 4.32 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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.0005125/0.6778, allocations: 0.738 MB / 0.9559 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6782, allocations: 72.92 kB / 0.956 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6782, allocations: 1.156 kB / 0.956 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6783, allocations: 31.47 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.6786, allocations: 18.56 kB / 0.956 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.6802, allocations: 1.414 MB / 0.9574 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.6803, allocations: 0.6847 MB / 0.9581 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.6805, allocations: 16.34 kB / 0.9581 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.6805, allocations: 18.52 kB / 0.9581 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6805, allocations: 0 / 0.9581 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.6999, allocations: 2.038 MB / 0.9601 GB, free: 464 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.255, allocations: 9.406 kB / 0.9601 GB, free: 460 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches