Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001292/0.001293, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 68.62 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3246, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002732/0.3273, allocations: 0.8447 MB / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.3275, allocations: 35.84 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.3276, allocations: 0 / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.3277, allocations: 7.875 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.3278, allocations: 15.86 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.292e-05/0.3278, allocations: 15.98 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.328, allocations: 59.84 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3282, allocations: 43.97 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.3283, allocations: 31.8 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.3283, allocations: 31.78 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3284, allocations: 8 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3284, allocations: 4 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.3284, allocations: 15.92 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3285, allocations: 39.8 kB / 1.028 GB, free: 0.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3286, allocations: 75.64 kB / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3287, allocations: 0 / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3287, allocations: 0 / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3287, allocations: 0 / 1.028 GB, free: 0.8828 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005068/0.3292, allocations: 375.2 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3292, allocations: 12.03 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3293, allocations: 8.844 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3295, allocations: 184.2 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3296, allocations: 16.28 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3296, allocations: 8.312 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3298, allocations: 95.94 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3298, allocations: 192 / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3299, allocations: 3.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3299, allocations: 7.938 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.33, allocations: 39.92 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.3307, allocations: 432.6 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.3308, allocations: 41.31 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3309, allocations: 17.72 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3309, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3309, allocations: 38.55 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3309, allocations: 7.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.3312, allocations: 53.48 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3312, allocations: 77.11 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3314, allocations: 163.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3315, allocations: 25.7 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3315, allocations: 108.2 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.3316, allocations: 11.89 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3316, allocations: 13.72 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3318, allocations: 322.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.3318, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.3318, allocations: 25.64 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.3319, allocations: 29.72 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3319, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.3321, allocations: 57.55 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3321, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3321, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3321, allocations: 3.984 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.3322, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3322, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.3323, allocations: 11.94 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3323, allocations: 4.062 kB / 1.03 GB, free: 14.45 MB / 0.8106 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 (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 prepare postOptimizeDAE: time 0.0001057/0.3324, allocations: 117.8 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.3325, allocations: 11.89 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3326, allocations: 19.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.3331, allocations: 474.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3332, allocations: 3.938 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.3332, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3332, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3332, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.3332, allocations: 11.94 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3332, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3334, allocations: 81.89 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3335, allocations: 89.02 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3335, allocations: 3.984 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.3335, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3335, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3336, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001315/0.3337, allocations: 121.9 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3337, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003569/0.3341, allocations: 11.97 kB / 1.031 GB, free: 13.4 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0001345/0.3342, allocations: 99.25 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.3343, allocations: 15.94 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3343, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.3344, allocations: 8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3346, allocations: 22.52 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.335, allocations: 159.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3354, allocations: 0.6924 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3354, allocations: 8.422 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.3354, allocations: 11.44 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.3355, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of Templates: time 0.003245/0.3387, allocations: 452.5 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches