Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 100.1 kB / 16.27 MB, free: 6.414 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.001095/0.001095, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.59 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3197, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002234/0.322, allocations: 0.7556 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3231, allocations: 0.8779 MB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.3232, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.3233, allocations: 7.875 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/0.3234, allocations: 23.84 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3236, allocations: 35.89 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3237, allocations: 99.69 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3238, allocations: 27.97 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.3239, allocations: 35.86 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.3241, allocations: 51.81 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3241, allocations: 8 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.3241, allocations: 12 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.3241, allocations: 15.92 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.3242, allocations: 43.78 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3243, allocations: 83.95 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3243, allocations: 4 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3244, allocations: 3.938 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3244, allocations: 0 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007352/0.3251, allocations: 411.1 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3252, allocations: 12.92 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3252, allocations: 12.78 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3253, allocations: 172.3 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3254, allocations: 4.375 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3254, allocations: 8.375 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.3257, allocations: 132.7 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3257, allocations: 192 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3258, allocations: 3.938 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3258, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.3261, allocations: 99.89 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3267, allocations: 436.6 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.3272, allocations: 129.1 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3274, allocations: 53.73 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3274, allocations: 8.141 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3274, allocations: 30.56 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3274, allocations: 0 / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006671/0.3281, allocations: 177.4 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3282, allocations: 77.11 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3283, allocations: 148.2 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3283, allocations: 25.7 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.3284, allocations: 104 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3284, allocations: 15.7 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.3284, allocations: 29.7 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.3285, allocations: 314.8 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3287, allocations: 47.95 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3289, allocations: 69.59 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.3293, allocations: 97.64 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3293, allocations: 0 / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004163/0.3297, allocations: 153.4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3297, allocations: 4 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3297, allocations: 7.922 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3298, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3299, allocations: 27.97 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.33, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.3301, allocations: 19.86 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3301, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.867e-05/0.3302, allocations: 117.8 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.3303, allocations: 11.89 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.3308, allocations: 186.1 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3308, allocations: 7.938 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3308, allocations: 3.938 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3311, allocations: 213.5 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3311, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.3313, allocations: 31.97 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3313, allocations: 0 / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3313, allocations: 4 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3313, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3313, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.3318, allocations: 335.9 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3319, allocations: 97 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3319, allocations: 8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3321, allocations: 11.98 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.3322, allocations: 15.92 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3322, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.3323, allocations: 118.6 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3323, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002896/0.3326, allocations: 16 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001248/0.3327, allocations: 103.2 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.3332, allocations: 115.8 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3332, allocations: 0 / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3334, allocations: 64.12 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.3338, allocations: 28.12 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.3344, allocations: 257.1 kB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.3347, allocations: 0.7002 MB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3347, allocations: 15.44 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3347, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of Templates: time 0.003224/0.338, allocations: 1.41 MB / 1.026 GB, free: 1.477 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches