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.0007771/0.0007771, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001883, 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.0007272/0.0007272, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009479/0.001675, 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.938/0.938, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09507/1.033, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.866/1.866, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5014/2.367, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.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 7.21e-07/7.21e-07, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.329e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00186/0.001873, allocations: 0.8667 MB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.002008, allocations: 43.78 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.00206, allocations: 0.7188 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.002098, allocations: 7.875 kB / 0.7302 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.00216, allocations: 18.98 kB / 0.7303 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.854e-05/0.002199, allocations: 22.88 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.002299, allocations: 57.27 kB / 0.7303 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.002396, allocations: 32.64 kB / 0.7304 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.002486, allocations: 57.83 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.002527, allocations: 11.98 kB / 0.7304 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.002546, allocations: 4 kB / 0.7304 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.002553, allocations: 7.938 kB / 0.7304 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002568, allocations: 8 kB / 0.7305 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.002593, allocations: 21.28 kB / 0.7305 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.002682, allocations: 39.73 kB / 0.7305 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-05/0.0027, allocations: 0 / 0.7305 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002701, allocations: 1.438 kB / 0.7305 GB, free: 3.359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.002717, allocations: 0 / 0.7305 GB, free: 3.359 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.0003527/0.00307, allocations: 292.3 kB / 0.7308 GB, free: 3.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.003101, allocations: 12.03 kB / 0.7308 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.003127, allocations: 13.59 kB / 0.7308 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.003256, allocations: 133.6 kB / 0.7309 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003267, allocations: 9.062 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.003275, allocations: 4.906 kB / 0.731 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.106e-05/0.003366, allocations: 79.92 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003374, allocations: 1.969 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003382, allocations: 4.375 kB / 0.731 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003388, allocations: 4.375 kB / 0.731 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.003419, allocations: 27.8 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.003757, allocations: 0.4979 MB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.003821, allocations: 173.3 kB / 0.7317 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.003842, allocations: 85.33 kB / 0.7318 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.003865, allocations: 75.28 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.003901, allocations: 105.8 kB / 0.732 GB, free: 1.746 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.003903, allocations: 0.875 kB / 0.732 GB, free: 1.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.039e-05/0.003953, allocations: 41.62 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.003999, allocations: 127.6 kB / 0.7321 GB, free: 1.562 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.004082, allocations: 144.7 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004091, allocations: 26.27 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.004143, allocations: 127.8 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.004148, allocations: 1.594 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.004178, allocations: 29.66 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.004248, allocations: 322.7 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.004256, allocations: 8 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.004289, allocations: 52.08 kB / 0.7328 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.004346, allocations: 77 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.004349, allocations: 0 / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.246e-05/0.004441, allocations: 73.33 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004453, allocations: 8 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.004459, allocations: 0 / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.004468, allocations: 4 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.004517, allocations: 12 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.004521, allocations: 4 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.004545, allocations: 13.88 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.004549, allocations: 0 / 0.733 GB, free: 0.5977 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 7.023e-05/0.004619, allocations: 197 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.004657, allocations: 105 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.004698, allocations: 120.8 kB / 0.7334 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/0.004753, allocations: 185.5 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-05/0.004805, allocations: 180.3 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.235e-05/0.004847, allocations: 180.2 kB / 0.7339 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.004984, allocations: 334.4 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.005009, allocations: 109 kB / 0.7343 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.005033, allocations: 104.9 kB / 0.7344 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.005074, allocations: 113.6 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-05/0.005113, allocations: 180.2 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.005154, allocations: 180.8 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-05/0.005196, allocations: 181.2 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-05/0.005237, allocations: 180.5 kB / 0.7352 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.005334, allocations: 315.7 kB / 0.7355 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.005386, allocations: 180.9 kB / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.005435, allocations: 112.9 kB / 0.7358 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.005486, allocations: 178 kB / 0.736 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.005509, allocations: 101 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.005547, allocations: 30.72 kB / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005547, allocations: 0 / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001261/0.005673, allocations: 15.95 kB / 0.7361 GB, free: 13.21 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.0001043/0.005778, allocations: 160.8 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/0.00584, allocations: 26.92 kB / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.005844, allocations: 0 / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.005845, allocations: 0 / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.006048, allocations: 470.4 kB / 0.7368 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.006271, allocations: 231.9 kB / 0.737 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.006303, allocations: 60.52 kB / 0.737 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.006334, allocations: 6.266 kB / 0.737 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.006364, allocations: 51.38 kB / 0.7371 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.006365, allocations: 3.938 kB / 0.7371 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.001894/0.008259, allocations: 335.1 kB / 0.7374 GB, free: 11.85 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 4.8576333010569215]