Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001892/0.001892, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001634/0.001634, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.877/2.877, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.05e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002142/0.002173, allocations: 0.7949 MB / 0.8116 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.002323, allocations: 43.78 kB / 0.8116 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.00238, allocations: 1.531 kB / 0.8116 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.002428, allocations: 7.875 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.002512, allocations: 7.938 kB / 0.8117 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.711e-05/0.00257, allocations: 19.97 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.002717, allocations: 68.95 kB / 0.8117 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.002857, allocations: 31.92 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.00296, allocations: 43.83 kB / 0.8118 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.003019, allocations: 17.52 kB / 0.8118 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.003041, allocations: 4 kB / 0.8118 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.003053, allocations: 8 kB / 0.8118 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.00308, allocations: 15.91 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.003126, allocations: 20.66 kB / 0.8119 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003271, allocations: 71.75 kB / 0.8119 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003274, allocations: 0.5312 kB / 0.8119 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003275, allocations: 1.656 kB / 0.8119 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.003279, allocations: 0 / 0.8119 GB, free: 0.9219 MB / 0.7605 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.0005328/0.003811, allocations: 306 kB / 0.8122 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.003851, allocations: 11.97 kB / 0.8123 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.003914, allocations: 17.55 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.004137, allocations: 133.6 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.004155, allocations: 9.438 kB / 0.8124 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.004169, allocations: 4.375 kB / 0.8124 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.004359, allocations: 95.86 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.004369, allocations: 1.344 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.00438, allocations: 384 / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004388, allocations: 8.312 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.004484, allocations: 41.3 kB / 0.8125 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.005097, allocations: 356.4 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.005173, allocations: 43.03 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.005223, allocations: 21.83 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.005233, allocations: 7.984 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.005265, allocations: 30.56 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005266, allocations: 5.875 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/0.005467, allocations: 45.66 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.005549, allocations: 85.05 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.005711, allocations: 134.5 kB / 0.8132 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.005731, allocations: 25.7 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.005826, allocations: 110.3 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.005838, allocations: 7.953 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.005878, allocations: 13.72 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.006059, allocations: 322.8 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.006079, allocations: 4 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.006109, allocations: 17.72 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.00616, allocations: 27.58 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006162, allocations: 0 / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.006274, allocations: 57.64 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.00629, allocations: 4.5 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006295, allocations: 0.5312 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.006317, allocations: 1.844 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.006385, allocations: 11.98 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.006395, allocations: 11.81 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.006427, allocations: 7.891 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.006433, allocations: 4 kB / 0.8138 GB, free: 14.78 MB / 0.7761 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.0001003/0.006534, allocations: 112.4 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.006571, allocations: 4 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.006602, allocations: 11.47 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006604, allocations: 0 / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.00661, allocations: 0 / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.006617, allocations: 7.922 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.007162, allocations: 411.6 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007164, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.007189, allocations: 7.984 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007191, allocations: 0.7188 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007202, allocations: 7.938 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007204, allocations: 0.625 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007205, allocations: 0.8438 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.007317, allocations: 69.94 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.007345, allocations: 15.62 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.007379, allocations: 3.938 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.0074, allocations: 0 / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.007418, allocations: 12 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.00742, allocations: 0 / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.441e-05/0.007504, allocations: 98.64 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007504, allocations: 0 / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002039/0.007708, allocations: 11.95 kB / 0.8146 GB, free: 13.96 MB / 0.7761 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.0001337/0.007842, allocations: 101.2 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.007936, allocations: 19.92 kB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.007938, allocations: 4 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.007952, allocations: 4 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.008111, allocations: 3.344 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.008511, allocations: 171.2 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.008602, allocations: 80.31 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.008634, allocations: 5.062 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.00867, allocations: 8.5 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.00867, allocations: 3.938 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.003105/0.01178, allocations: 357.9 kB / 0.8153 GB, free: 13.17 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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: 7.8404302230337635]