Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0007973/0.0007973, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008171/0.0008171, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8687/0.8687, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.072e-05, allocations: 5.234 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001215/0.001246, allocations: 0.5845 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.797e-05/0.001294, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.001325, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.001354, allocations: 3.938 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.001386, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.356e-05/0.001419, allocations: 4 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.001484, allocations: 4 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.001539, allocations: 4 kB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.001572, allocations: 3.938 kB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.001593, allocations: 0 / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.001616, allocations: 0 / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-06/0.00162, allocations: 0 / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.001635, allocations: 0 / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.001654, allocations: 4 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.00172, allocations: 3.984 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.001722, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/0.001724, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.001728, allocations: 4 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002708/0.001999, allocations: 238.4 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.002039, allocations: 12.69 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.002071, allocations: 8.922 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.002161, allocations: 101.8 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.002172, allocations: 384 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.002181, allocations: 384 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.00226, allocations: 34.25 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.002268, allocations: 192 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.002277, allocations: 384 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.002282, allocations: 4.375 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.002303, allocations: 7.938 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.002567, allocations: 335.1 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.002646, allocations: 169.1 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.002676, allocations: 80.14 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.0027, allocations: 75.28 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.002738, allocations: 113.8 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.002739, allocations: 0 / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.25e-05/0.002801, allocations: 33.58 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.002854, allocations: 126.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.002921, allocations: 97.86 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.002931, allocations: 25.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.002962, allocations: 88.12 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.002964, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.002982, allocations: 9.719 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.003069, allocations: 314.8 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.003074, allocations: 0 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.003077, allocations: 0 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.003098, allocations: 79.22 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.003119, allocations: 75.28 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.55e-05/0.003154, allocations: 37.72 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.003183, allocations: 83.28 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.003206, allocations: 79.22 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.896e-05/0.003265, allocations: 158.5 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.003285, allocations: 80 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.924e-05/0.003324, allocations: 154.6 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.003371, allocations: 87.22 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.00339, allocations: 75.28 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.362e-05/0.003473, allocations: 256.4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.003507, allocations: 105 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.003549, allocations: 119.9 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/0.003602, allocations: 184.5 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.00365, allocations: 184.2 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/0.003695, allocations: 180.3 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.003829, allocations: 352.9 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.003857, allocations: 108.9 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.003884, allocations: 101 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-05/0.00393, allocations: 184.2 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.003976, allocations: 176.3 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.004021, allocations: 188.1 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.805e-05/0.004069, allocations: 180.3 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.004164, allocations: 307.8 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.004193, allocations: 104.9 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.004253, allocations: 188.2 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.004302, allocations: 108.9 kB / 1.007 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.004352, allocations: 176.3 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.004379, allocations: 112.9 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.004407, allocations: 75.28 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004407, allocations: 0 / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001513/0.004558, allocations: 0 / 1.007 GB, free: 5.918 MB / 0.9636 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 9.535e-05/0.004653, allocations: 178.6 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.626e-05/0.00469, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004691, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.004692, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.004944, allocations: 459.6 kB / 1.008 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.005202, allocations: 189.8 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.005253, allocations: 55.34 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.005267, allocations: 8.5 kB / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.005267, allocations: 0 / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of Templates: time 0.001307/0.006574, allocations: 327.8 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 6.277733540162444]