Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.001621/0.001621, allocations: 116.6 kB / 17.08 MB, free: 5.969 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.001662/0.001663, allocations: 193.2 kB / 20.03 MB, free: 3.039 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.498/1.498, 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.06/3.06, 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.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 1.103 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8912, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001775/0.893, allocations: 0.6744 MB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.8938, allocations: 0.787 MB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.8939, allocations: 3.5 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.8939, allocations: 0 / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.894, allocations: 4.906 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.815e-05/0.894, allocations: 7.219 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.8941, allocations: 25.28 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.8942, allocations: 4.984 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.8943, allocations: 16.22 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.8943, allocations: 13.69 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.8943, allocations: 5.656 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.8943, allocations: 2.875 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.8943, allocations: 1.312 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.8944, allocations: 14.45 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.114e-05/0.8945, allocations: 25.66 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8945, allocations: 0 / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8945, allocations: 0.8125 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.8945, allocations: 0 / 1.264 GB, free: 6.918 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003799/0.8949, allocations: 344.6 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.8949, allocations: 9.984 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.8949, allocations: 6.469 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.285e-05/0.895, allocations: 167.3 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.895, allocations: 1.781 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.8951, allocations: 6.281 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.8952, allocations: 44.3 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8952, allocations: 1 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.8953, allocations: 7.938 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.8953, allocations: 4.812 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.8954, allocations: 32.91 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.8957, allocations: 251.7 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.8958, allocations: 40.83 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.8959, allocations: 27.86 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.896, allocations: 0 / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.896, allocations: 36.97 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.896, allocations: 0 / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.8963, allocations: 83.73 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.8964, allocations: 60.22 kB / 1.265 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.8964, allocations: 98.97 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.8964, allocations: 29.7 kB / 1.265 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.8965, allocations: 82.53 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.8965, allocations: 5.203 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.8965, allocations: 12.55 kB / 1.265 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.8966, allocations: 317.4 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.8967, allocations: 13.75 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.8967, allocations: 22.55 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.8969, allocations: 37.17 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8969, allocations: 0 / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.8971, allocations: 71.42 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8971, allocations: 9.469 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8971, allocations: 0 / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8972, allocations: 5.484 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.8973, allocations: 8.938 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8973, allocations: 0 / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.8973, allocations: 10.36 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.8973, allocations: 0.9375 kB / 1.266 GB, free: 5.195 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 (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 prepare postOptimizeDAE: time 4.777e-05/0.8974, allocations: 112 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.8974, allocations: 10.2 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.8974, allocations: 4.453 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8974, allocations: 0.75 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8974, allocations: 4.5 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8975, allocations: 0.625 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.8976, allocations: 164.6 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8976, allocations: 0.9688 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.8976, allocations: 12.61 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8977, allocations: 0.8125 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.8977, allocations: 0 / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8977, allocations: 5.5 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8977, allocations: 4.688 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.8979, allocations: 158.4 kB / 1.266 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.8979, allocations: 78.31 kB / 1.266 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8979, allocations: 9.312 kB / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.898, allocations: 5.562 kB / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.8981, allocations: 6.781 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.8981, allocations: 0.75 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.8981, allocations: 81.34 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8981, allocations: 0 / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002106/0.8983, allocations: 8.188 kB / 1.267 GB, free: 4.535 MB / 0.9981 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 (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.0001193/0.8984, allocations: 99.11 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8987, allocations: 43.95 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8987, allocations: 0 / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.8988, allocations: 20.41 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.8991, allocations: 7.125 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.8993, allocations: 139.4 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.8995, allocations: 0.6758 MB / 1.268 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.8995, allocations: 12.91 kB / 1.268 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.8995, allocations: 0.75 kB / 1.268 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.002232/0.9017, allocations: 0.5531 MB / 1.268 GB, free: 3.539 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.468524815980345]