Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 115 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.135/3.135, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001809/1.07, allocations: 0.549 MB / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 5.134e-05/1.07, allocations: 1.438 kB / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/1.07, allocations: 0 / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/1.07, allocations: 0 / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/1.07, allocations: 0.9375 kB / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.353e-05/1.07, allocations: 0 / 1.263 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/1.07, allocations: 6.953 kB / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/1.07, allocations: 2.422 kB / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/1.07, allocations: 0.8438 kB / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/1.07, allocations: 5.609 kB / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/1.07, allocations: 4 kB / 1.263 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-06/1.07, allocations: 1.875 kB / 1.263 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/1.07, allocations: 0 / 1.263 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/1.07, allocations: 6.844 kB / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/1.07, allocations: 6.156 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.07, allocations: 0.75 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/1.07, allocations: 0 / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.275e-06/1.07, allocations: 0 / 1.263 GB, free: 7.656 MB / 0.9981 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.0002802/1.07, allocations: 312.6 kB / 1.263 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.07, allocations: 14.88 kB / 1.263 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/1.07, allocations: 2 kB / 1.263 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/1.071, allocations: 165 kB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.071, allocations: 1.188 kB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/1.071, allocations: 5.703 kB / 1.264 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/1.071, allocations: 32.23 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.071, allocations: 1.125 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/1.071, allocations: 3.938 kB / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.071, allocations: 0 / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/1.071, allocations: 5.656 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/1.071, allocations: 387.2 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/1.071, allocations: 169.9 kB / 1.264 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/1.071, allocations: 81.75 kB / 1.264 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.071, allocations: 75.28 kB / 1.264 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.071, allocations: 114.7 kB / 1.264 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/1.071, allocations: 0 / 1.264 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.802e-05/1.071, allocations: 31.94 kB / 1.264 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.071, allocations: 127.3 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/1.071, allocations: 94.8 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-06/1.071, allocations: 25.7 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.62e-05/1.071, allocations: 85.88 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/1.071, allocations: 0 / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/1.071, allocations: 15.12 kB / 1.265 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.421e-05/1.071, allocations: 312.4 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/1.071, allocations: 0 / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-06/1.071, allocations: 0.6562 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.456e-05/1.072, allocations: 76.86 kB / 1.265 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.072, allocations: 75.28 kB / 1.265 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.867e-05/1.072, allocations: 40.81 kB / 1.265 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.072, allocations: 85.27 kB / 1.265 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.072, allocations: 80.95 kB / 1.265 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/1.072, allocations: 155.3 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/1.072, allocations: 77.17 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/1.072, allocations: 155.9 kB / 1.266 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/1.072, allocations: 80.77 kB / 1.266 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.072, allocations: 80.66 kB / 1.266 GB, free: 4.582 MB / 0.9981 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 6.529e-05/1.072, allocations: 266 kB / 1.266 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.072, allocations: 110.8 kB / 1.266 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/1.072, allocations: 106 kB / 1.266 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/1.072, allocations: 182.2 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.072, allocations: 189.7 kB / 1.267 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/1.072, allocations: 177.8 kB / 1.267 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/1.072, allocations: 407 kB / 1.267 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-05/1.073, allocations: 106.9 kB / 1.267 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/1.073, allocations: 102.5 kB / 1.268 GB, free: 18.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/1.073, allocations: 186.4 kB / 1.268 GB, free: 18.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/1.073, allocations: 177.4 kB / 1.268 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.586e-05/1.073, allocations: 181.8 kB / 1.268 GB, free: 18.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-05/1.073, allocations: 181.8 kB / 1.268 GB, free: 18.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/1.073, allocations: 314 kB / 1.269 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.073, allocations: 180.8 kB / 1.269 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.074, allocations: 182.3 kB / 1.269 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.074, allocations: 106.4 kB / 1.269 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/1.074, allocations: 185.8 kB / 1.269 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/1.074, allocations: 107.1 kB / 1.269 GB, free: 17.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.676e-05/1.074, allocations: 82.02 kB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.074, allocations: 0 / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00032/1.074, allocations: 0.7812 kB / 1.269 GB, free: 16.95 MB / 1.014 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.0003048/1.074, allocations: 173.2 kB / 1.27 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.758e-05/1.075, allocations: 0.8125 kB / 1.27 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.075, allocations: 0.75 kB / 1.27 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/1.075, allocations: 4.5 kB / 1.27 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/1.075, allocations: 465.9 kB / 1.27 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/1.075, allocations: 182.9 kB / 1.27 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.076, allocations: 0.6715 MB / 1.271 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/1.076, allocations: 8.25 kB / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.076, allocations: 0 / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of Templates: time 0.00205/1.078, allocations: 329 kB / 1.271 GB, free: 15.41 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 11.643778302008286]