Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001866/0.001866, allocations: 78.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.002284/0.002284, allocations: 168.3 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.849/2.849, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.13e-05, allocations: 4.812 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001981/0.002012, allocations: 0.7907 MB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.002141, allocations: 43.84 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.0022, allocations: 0 / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.002247, allocations: 15.86 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.00233, allocations: 15.8 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.952e-05/0.002379, allocations: 15.98 kB / 0.9518 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.002515, allocations: 67.83 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.002668, allocations: 23.98 kB / 0.9519 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.002766, allocations: 43.83 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.002827, allocations: 19.92 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.002852, allocations: 4 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.002864, allocations: 8 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.002893, allocations: 19.91 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.002927, allocations: 15.94 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003053, allocations: 79.69 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003056, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.21e-07/0.003056, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.003065, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 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.0004917/0.003557, allocations: 302 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.003594, allocations: 11.97 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.003633, allocations: 12.88 kB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.003858, allocations: 133.7 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.003875, allocations: 4.375 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.003896, allocations: 8.375 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.004075, allocations: 91.89 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.004086, allocations: 192 / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.004099, allocations: 8.375 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004104, allocations: 384 / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.004183, allocations: 43.86 kB / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.004714, allocations: 364.3 kB / 0.953 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.693e-05/0.004791, allocations: 37.16 kB / 0.9531 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.004826, allocations: 17.84 kB / 0.9531 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.00484, allocations: 8.078 kB / 0.9531 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.004869, allocations: 38.5 kB / 0.9531 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.00487, allocations: 4 kB / 0.9531 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.00506, allocations: 45.64 kB / 0.9532 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.005115, allocations: 77.11 kB / 0.9533 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.005259, allocations: 136.6 kB / 0.9534 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.005278, allocations: 25.7 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.005361, allocations: 111.9 kB / 0.9535 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.005369, allocations: 3.953 kB / 0.9535 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.005403, allocations: 17.97 kB / 0.9535 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.005567, allocations: 322.8 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.005588, allocations: 8 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.005609, allocations: 13.72 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.00566, allocations: 33.64 kB / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005662, allocations: 0 / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.316e-05/0.005745, allocations: 49.66 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.005762, allocations: 8 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005766, allocations: 0 / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.005782, allocations: 4.062 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.005852, allocations: 15.92 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.00586, allocations: 3.938 kB / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.005889, allocations: 4 kB / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005893, allocations: 0 / 0.954 GB, free: 8.238 MB / 0.8575 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.75e-05/0.005991, allocations: 113.8 kB / 0.9541 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.006033, allocations: 8.047 kB / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.006057, allocations: 11.45 kB / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006058, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.006062, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.006068, allocations: 7.938 kB / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.006492, allocations: 414.4 kB / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006493, allocations: 0 / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.006514, allocations: 4 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.006516, allocations: 3.938 kB / 0.9545 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.006528, allocations: 11.92 kB / 0.9545 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.006531, allocations: 4 kB / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006532, allocations: 0 / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.516e-05/0.006627, allocations: 73.89 kB / 0.9546 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.006653, allocations: 20.03 kB / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.006667, allocations: 3.938 kB / 0.9546 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.006685, allocations: 3.938 kB / 0.9546 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.006702, allocations: 0 / 0.9546 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006707, allocations: 4 kB / 0.9546 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.006793, allocations: 99.27 kB / 0.9547 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006793, allocations: 0 / 0.9547 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001934/0.006986, allocations: 8 kB / 0.9547 GB, free: 7.387 MB / 0.8575 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.0001262/0.007113, allocations: 95.25 kB / 0.9548 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.007225, allocations: 23.92 kB / 0.9549 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007227, allocations: 0 / 0.9549 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.007237, allocations: 4 kB / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.007396, allocations: 8 kB / 0.9549 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.007773, allocations: 158.7 kB / 0.955 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.007874, allocations: 87.11 kB / 0.9551 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.007905, allocations: 4.25 kB / 0.9551 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.007936, allocations: 12.5 kB / 0.9551 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.007937, allocations: 0 / 0.9551 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of Templates: time 0.003103/0.01104, allocations: 335 kB / 0.9554 GB, free: 6.617 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.305289506912231]