Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00212/0.00212, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002259/0.002259, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.84e-05/4.08e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003544/0.003585, allocations: 0.8014 MB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.003825, allocations: 40.88 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.003916, allocations: 0 / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.134e-05/0.003987, allocations: 7.875 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.004124, allocations: 16.59 kB / 0.8784 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.004225, allocations: 19.97 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004414, allocations: 61.42 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.004603, allocations: 31.92 kB / 0.8786 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.004747, allocations: 43.83 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.004833, allocations: 15.92 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.004866, allocations: 8.938 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.004881, allocations: 7.938 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.004916, allocations: 13.08 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.004976, allocations: 19.92 kB / 0.8787 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.005192, allocations: 75.69 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005195, allocations: 0.5938 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005196, allocations: 0 / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005201, allocations: 0.6562 kB / 0.8787 GB, free: 5.367 MB / 0.8386 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.0007171/0.005918, allocations: 307 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.005969, allocations: 8.031 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.006043, allocations: 16.89 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.006362, allocations: 135.2 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.006388, allocations: 8.375 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.00641, allocations: 4.375 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.006697, allocations: 91.95 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.00671, allocations: 3.438 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.006725, allocations: 384 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.006736, allocations: 8.312 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.006888, allocations: 39.92 kB / 0.8793 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.007733, allocations: 356.3 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.007852, allocations: 41.28 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.007931, allocations: 27.11 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.007941, allocations: 0 / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.007996, allocations: 30.56 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.856e-06/0.007999, allocations: 9.5 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.008304, allocations: 41.7 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.008406, allocations: 84.98 kB / 0.8799 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.008642, allocations: 134.9 kB / 0.88 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.008674, allocations: 25.7 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.008807, allocations: 107.9 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.008825, allocations: 8.203 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.008887, allocations: 21.7 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002841/0.009171, allocations: 318.8 kB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.009201, allocations: 4 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.009254, allocations: 21.7 kB / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.00932, allocations: 21.72 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.009322, allocations: 0 / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001608/0.009483, allocations: 61.59 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.009503, allocations: 4 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.009513, allocations: 8.047 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.009535, allocations: 0 / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.00962, allocations: 8 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.009636, allocations: 7.875 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.009689, allocations: 7.938 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.0097, allocations: 4 kB / 0.8806 GB, free: 3.227 MB / 0.8386 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.000152/0.009852, allocations: 113.8 kB / 0.8807 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.009939, allocations: 7.953 kB / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.009975, allocations: 11.45 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009977, allocations: 0 / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.009982, allocations: 4 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.00999, allocations: 7.938 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.01068, allocations: 402.5 kB / 0.8811 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01068, allocations: 4 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.01072, allocations: 3.984 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.01073, allocations: 4 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01075, allocations: 3.938 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.01075, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01075, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.01092, allocations: 77.95 kB / 0.8812 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.01096, allocations: 16.02 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.01099, allocations: 7.938 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.01103, allocations: 0 / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.01104, allocations: 3.938 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.01105, allocations: 0 / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001403/0.01119, allocations: 110.6 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01119, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003643/0.01155, allocations: 4 kB / 0.8814 GB, free: 2.387 MB / 0.8386 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.0001883/0.01174, allocations: 103.3 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01185, allocations: 15.94 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01185, allocations: 4 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.01188, allocations: 8 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01213, allocations: 3.938 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.0129, allocations: 170.9 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.01303, allocations: 83.44 kB / 0.8817 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.01307, allocations: 4 kB / 0.8817 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.01311, allocations: 8.5 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01311, allocations: 3.938 kB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of Templates: time 0.004374/0.01748, allocations: 355.5 kB / 0.8821 GB, free: 1.578 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.312014364055358]