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: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001569, allocations: 102.2 kB / 16.27 MB, free: 6 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.00176/0.00176, allocations: 191 kB / 17.2 MB, free: 5.609 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.64 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 140.4 MB / 0.9503 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002077/0.2829, allocations: 0.6676 MB / 0.9509 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2848, allocations: 1.364 MB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.2849, allocations: 3.938 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.2849, allocations: 3.938 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.285, allocations: 15.84 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.2855, allocations: 103.5 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.2856, allocations: 43.86 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2857, allocations: 19.98 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.2857, allocations: 19.92 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.2858, allocations: 15.92 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2858, allocations: 4 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.2861, allocations: 151.8 kB / 0.9526 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2861, allocations: 7.938 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.2862, allocations: 19.92 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2864, allocations: 123.9 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2864, allocations: 4 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2865, allocations: 3.938 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2865, allocations: 4 kB / 0.9528 GB, free: 6.23 MB / 0.7325 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.0005581/0.287, allocations: 384.6 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2871, allocations: 8.031 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.2875, allocations: 28.89 kB / 0.9532 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2876, allocations: 176.3 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2877, allocations: 384 / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2877, allocations: 4.375 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.288, allocations: 82.19 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.288, allocations: 192 / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.288, allocations: 3.938 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.288, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.2883, allocations: 79.86 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.2889, allocations: 324.6 kB / 0.9538 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.2893, allocations: 78.53 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2894, allocations: 32.91 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2894, allocations: 7.938 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2895, allocations: 38.55 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2895, allocations: 4 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005917/0.2901, allocations: 117.8 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.2901, allocations: 51.41 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2903, allocations: 114.1 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.2903, allocations: 29.7 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.2904, allocations: 96.03 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2904, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.2905, allocations: 25.64 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2906, allocations: 326.7 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2908, allocations: 27.97 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2909, allocations: 39.91 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2912, allocations: 64.8 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2912, allocations: 0 / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003486/0.2916, allocations: 113.5 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2916, allocations: 4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2916, allocations: 3.984 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2916, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2918, allocations: 19.92 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2918, allocations: 0 / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2919, allocations: 15.92 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.292, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 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 8.499e-05/0.2921, allocations: 125.8 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.2921, allocations: 3.906 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.2921, allocations: 11.91 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2921, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2921, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2921, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.2923, allocations: 177.6 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2924, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2925, allocations: 19.97 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2925, allocations: 0 / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2925, allocations: 4.188 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2925, allocations: 4 kB / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2925, allocations: 0 / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.2929, allocations: 203.3 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.293, allocations: 81.11 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.293, allocations: 0 / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2931, allocations: 11.98 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.2932, allocations: 3.984 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2932, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.2932, allocations: 95.2 kB / 0.9557 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.2933, allocations: 0 / 0.9557 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002607/0.2935, allocations: 20 kB / 0.9557 GB, free: 2.902 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 (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.0001854/0.2937, allocations: 115.2 kB / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.2941, allocations: 71.88 kB / 0.9559 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2941, allocations: 3.938 kB / 0.9559 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.2942, allocations: 35.97 kB / 0.9559 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2946, allocations: 15.92 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.2951, allocations: 184.9 kB / 0.9561 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2954, allocations: 0.6882 MB / 0.9568 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.2955, allocations: 15.42 kB / 0.9568 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/0.2955, allocations: 0 / 0.9568 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of Templates: time 0.003132/0.2986, allocations: 1.145 MB / 0.9579 GB, free: 0.582 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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