Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.944/2.944, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.283e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002123/0.002156, allocations: 0.7908 MB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001345/0.002291, allocations: 39.78 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.002346, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.002388, allocations: 15.86 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.002495, allocations: 7.938 kB / 0.9823 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.002551, allocations: 19.97 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.002699, allocations: 59.78 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.002852, allocations: 39.84 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.002949, allocations: 35.91 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.003017, allocations: 19.91 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.00304, allocations: 12 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.003053, allocations: 4 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.003078, allocations: 15.92 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.003116, allocations: 23.86 kB / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.003333, allocations: 71.75 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.003337, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003339, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003343, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 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.0005209/0.003864, allocations: 305.9 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.003913, allocations: 12.03 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.003957, allocations: 16.84 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.004274, allocations: 133.6 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.00429, allocations: 8.375 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.004307, allocations: 8.375 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.004489, allocations: 87.95 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004497, allocations: 192 / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.004509, allocations: 4.375 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004516, allocations: 4.375 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.004674, allocations: 39.86 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.005244, allocations: 356.4 kB / 0.9835 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.005314, allocations: 41.34 kB / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.005358, allocations: 17.78 kB / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.005366, allocations: 0 / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.005398, allocations: 34.56 kB / 0.9836 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.005399, allocations: 0 / 0.9836 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.005582, allocations: 53.58 kB / 0.9836 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.005643, allocations: 77.11 kB / 0.9837 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.005794, allocations: 141.1 kB / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.005812, allocations: 29.7 kB / 0.9839 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.005906, allocations: 111.9 kB / 0.984 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.005916, allocations: 7.938 kB / 0.984 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.005953, allocations: 17.67 kB / 0.984 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.006141, allocations: 318.8 kB / 0.9843 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.006161, allocations: 4 kB / 0.9843 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.00619, allocations: 21.72 kB / 0.9843 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.00624, allocations: 21.72 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.006243, allocations: 7.938 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.006353, allocations: 61.62 kB / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.006368, allocations: 4 kB / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.006374, allocations: 0 / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.006391, allocations: 4 kB / 0.9844 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.006458, allocations: 8.031 kB / 0.9844 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.006466, allocations: 3.938 kB / 0.9844 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.006502, allocations: 15.88 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.006509, allocations: 3.984 kB / 0.9845 GB, free: 8.648 MB / 0.9356 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 9.562e-05/0.006605, allocations: 113.8 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.006648, allocations: 8.062 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.006671, allocations: 11.41 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006673, allocations: 0 / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.006679, allocations: 4 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.006684, allocations: 3.938 kB / 0.9846 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.007143, allocations: 414.4 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007144, allocations: 0 / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.007162, allocations: 0 / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007164, allocations: 4 kB / 0.985 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.007175, allocations: 3.938 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007177, allocations: 4.062 kB / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.00718, allocations: 3.984 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007282, allocations: 69.98 kB / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.007305, allocations: 7.953 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007323, allocations: 7.922 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.007343, allocations: 4 kB / 0.9851 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.007361, allocations: 7.938 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.007363, allocations: 0 / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.00744, allocations: 95.27 kB / 0.9852 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.00744, allocations: 0 / 0.9852 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002134/0.007653, allocations: 15.98 kB / 0.9852 GB, free: 7.812 MB / 0.9356 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.0001533/0.007806, allocations: 99.78 kB / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.00789, allocations: 15.98 kB / 0.9853 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.007894, allocations: 4 kB / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.007907, allocations: 7.938 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.008059, allocations: 0 / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.008426, allocations: 166.6 kB / 0.9855 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.008506, allocations: 83.56 kB / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.008535, allocations: 4 kB / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.008564, allocations: 12.5 kB / 0.9856 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.008565, allocations: 0 / 0.9856 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.002879/0.01144, allocations: 340.2 kB / 0.9859 GB, free: 7.027 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.267682395875454]