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.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.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.001654/0.001655, 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.003067/0.003067, allocations: 194.6 kB / 16.14 MB, free: 6.719 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.448/1.448, 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.452/2.452, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8153, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002547/0.8179, allocations: 0.7215 MB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.8202, allocations: 1.383 MB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.8203, allocations: 5.375 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.8203, allocations: 3.984 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.8205, allocations: 5.312 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.8211, allocations: 91.97 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.8212, allocations: 43.83 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8213, allocations: 11.89 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.8214, allocations: 27.45 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.8215, allocations: 18.55 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.8215, allocations: 2.938 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.8219, allocations: 150.5 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.8219, allocations: 13.23 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.822, allocations: 13.59 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.8223, allocations: 133.8 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8223, allocations: 0 / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8223, allocations: 1.281 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.8223, allocations: 0 / 0.9516 GB, free: 7.152 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.000569/0.8229, allocations: 383.5 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.8229, allocations: 10.09 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.823, allocations: 36.12 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.8234, allocations: 25.75 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.8235, allocations: 179.2 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.8236, allocations: 9.875 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.8236, allocations: 3.094 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.8239, allocations: 81 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.8239, allocations: 3.938 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.8239, allocations: 1.156 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8239, allocations: 0.9688 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.8242, allocations: 72.52 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.8248, allocations: 313.4 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.8251, allocations: 84.25 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.8253, allocations: 37.34 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.8253, allocations: 1.281 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.8253, allocations: 31.84 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.8253, allocations: 0 / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005809/0.8259, allocations: 138.3 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.826, allocations: 51.41 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.8261, allocations: 114.8 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.8261, allocations: 25.7 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.8262, allocations: 95.36 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.8262, allocations: 17.27 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.8262, allocations: 17.97 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.8263, allocations: 324.1 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.8265, allocations: 32.25 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.8266, allocations: 31.59 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.8269, allocations: 74.86 kB / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8269, allocations: 0 / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003287/0.8272, allocations: 102.8 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8273, allocations: 5.125 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8273, allocations: 0 / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8273, allocations: 0 / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.8275, allocations: 24.25 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8275, allocations: 1.125 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.8276, allocations: 9.672 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.8276, allocations: 5.125 kB / 0.9539 GB, free: 5.027 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 6.925e-05/0.8277, allocations: 120.1 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.8277, allocations: 5.938 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.8278, allocations: 10.09 kB / 0.954 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8278, allocations: 3.984 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8278, allocations: 1.094 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8278, allocations: 0 / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.828, allocations: 179.6 kB / 0.9542 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.828, allocations: 1.125 kB / 0.9542 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.8281, allocations: 13.83 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.8281, allocations: 5.094 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.8282, allocations: 5.109 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8282, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8282, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.8286, allocations: 195 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.8286, allocations: 82.39 kB / 0.9544 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.8286, allocations: 9.156 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.8288, allocations: 9.078 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.8288, allocations: 1.25 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.8289, allocations: 9.109 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.8289, allocations: 88.03 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8289, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002828/0.8292, allocations: 23.19 kB / 0.9546 GB, free: 4.285 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.0007732/0.83, allocations: 0.7406 MB / 0.9553 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.8304, allocations: 78.08 kB / 0.9554 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8304, allocations: 0 / 0.9554 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.8305, allocations: 36.14 kB / 0.9554 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8309, allocations: 18.16 kB / 0.9554 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.8328, allocations: 1.417 MB / 0.9568 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.833, allocations: 0.6855 MB / 0.9575 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.8331, allocations: 12.44 kB / 0.9575 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.8332, allocations: 18.33 kB / 0.9575 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 4.4e-07/0.8332, allocations: 3.938 kB / 0.9575 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.8461, allocations: 1.855 MB / 0.9593 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.8463, allocations: 238.6 kB / 0.9596 GB, free: 316 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.589, allocations: 1.312 kB / 0.9596 GB, free: 316 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