Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0009135/0.0009135, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002235, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009187/0.0009187, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002161, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9853/0.9853, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09916/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.843/1.843, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5294/2.372, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.552e-05, allocations: 4.094 kB / 0.7294 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002386/0.002422, allocations: 0.8679 MB / 0.7302 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.002559, allocations: 44.41 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.002616, allocations: 6.719 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.002654, allocations: 11.86 kB / 0.7303 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.002715, allocations: 14.28 kB / 0.7303 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.472e-05/0.00276, allocations: 15.98 kB / 0.7303 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.002883, allocations: 61.38 kB / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003014, allocations: 31.97 kB / 0.7304 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.003134, allocations: 46.25 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.003188, allocations: 16.47 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.003213, allocations: 8 kB / 0.7304 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.003224, allocations: 4 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.003243, allocations: 11.94 kB / 0.7305 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.003274, allocations: 16.44 kB / 0.7305 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.00339, allocations: 49.11 kB / 0.7305 GB, free: 3.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.065e-05/0.00341, allocations: 0 / 0.7305 GB, free: 3.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003411, allocations: 0 / 0.7305 GB, free: 3.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.19e-05/0.003433, allocations: 0 / 0.7305 GB, free: 3.379 MB / 0.698 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.0005474/0.003981, allocations: 294 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.004027, allocations: 8.031 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.004074, allocations: 16.92 kB / 0.7308 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.004264, allocations: 137.5 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.004281, allocations: 9.188 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004294, allocations: 4.375 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.00443, allocations: 80.42 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00444, allocations: 192 / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004451, allocations: 9.125 kB / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.004458, allocations: 384 / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.004503, allocations: 24.94 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.004997, allocations: 0.505 MB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.005076, allocations: 165.9 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.005104, allocations: 80.14 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.005133, allocations: 83.84 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.005177, allocations: 110.8 kB / 0.732 GB, free: 1.758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.005178, allocations: 0 / 0.732 GB, free: 1.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.602e-05/0.005244, allocations: 30.27 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.0053, allocations: 126.7 kB / 0.7321 GB, free: 1.586 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.005416, allocations: 149.5 kB / 0.7323 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.005426, allocations: 25.7 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.005494, allocations: 125.2 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.005502, allocations: 4 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.005542, allocations: 21.67 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.005656, allocations: 326.8 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.005669, allocations: 8.656 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.005713, allocations: 58.78 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.005792, allocations: 62.88 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005794, allocations: 0 / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001266/0.005921, allocations: 78.95 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.005936, allocations: 4 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.005943, allocations: 4.719 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005956, allocations: 7.922 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.006021, allocations: 21.69 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.006026, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.006062, allocations: 7.938 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.006068, allocations: 4 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.204e-05/0.00616, allocations: 201.6 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.006219, allocations: 110 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.006268, allocations: 108.8 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/0.006348, allocations: 184.2 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-05/0.006406, allocations: 180.8 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-05/0.006462, allocations: 180.8 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.006667, allocations: 337.4 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/0.006705, allocations: 102.1 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.006743, allocations: 104.9 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.006796, allocations: 108.9 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-05/0.006859, allocations: 189.2 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.006917, allocations: 176.3 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.713e-05/0.006975, allocations: 176.3 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.935e-05/0.007034, allocations: 185.7 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.007167, allocations: 315.7 kB / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.007233, allocations: 180.3 kB / 0.7357 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.007307, allocations: 106 kB / 0.7358 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.007371, allocations: 188.2 kB / 0.736 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.007403, allocations: 101 kB / 0.7361 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.00744, allocations: 27.3 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.00744, allocations: 1.75 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002258/0.007666, allocations: 11.95 kB / 0.7361 GB, free: 13.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001362/0.007802, allocations: 155.7 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.007886, allocations: 33.92 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.007892, allocations: 0.75 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.007895, allocations: 8 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.008181, allocations: 463.6 kB / 0.7368 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.008476, allocations: 224.7 kB / 0.737 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.008519, allocations: 64.52 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.008564, allocations: 10.89 kB / 0.7371 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.008658, allocations: 55.38 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.984e-06/0.00866, allocations: 4.969 kB / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.00181/0.01047, allocations: 338.8 kB / 0.7374 GB, free: 11.87 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.029776239767671]