Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001468/0.001468, allocations: 117 kB / 17.08 MB, free: 5.977 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.001507/0.001507, allocations: 191.7 kB / 20.03 MB, free: 3.047 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.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.228/3.228, allocations: 489.3 MB / 0.7687 GB, free: 3.762 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001623/1.083, allocations: 0.5494 MB / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.375e-05/1.084, allocations: 15.78 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/1.084, allocations: 0.875 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/1.084, allocations: 0 / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.897e-05/1.084, allocations: 0.6562 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.227e-05/1.084, allocations: 0.8438 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/1.084, allocations: 6.172 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/1.084, allocations: 2.203 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/1.084, allocations: 0 / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.612e-05/1.084, allocations: 0.7812 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/1.084, allocations: 0 / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/1.084, allocations: 0.875 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/1.084, allocations: 5.625 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/1.084, allocations: 3.141 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.733e-05/1.084, allocations: 2.203 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.084, allocations: 0.875 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.084, allocations: 4 kB / 1.263 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.084, allocations: 0 / 1.263 GB, free: 7.645 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.0002444/1.084, allocations: 313.2 kB / 1.263 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.084, allocations: 10.02 kB / 1.263 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/1.084, allocations: 1.625 kB / 1.263 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/1.084, allocations: 169.8 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.084, allocations: 1.5 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/1.084, allocations: 1 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/1.085, allocations: 36.52 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.085, allocations: 192 / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/1.085, allocations: 4.781 kB / 1.264 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/1.085, allocations: 0 / 1.264 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/1.085, allocations: 2.125 kB / 1.264 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/1.085, allocations: 382.8 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/1.085, allocations: 174 kB / 1.264 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/1.085, allocations: 80.14 kB / 1.264 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/1.085, allocations: 80.62 kB / 1.264 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.085, allocations: 111 kB / 1.264 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.085, allocations: 0.6875 kB / 1.264 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.728e-05/1.085, allocations: 30.89 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.085, allocations: 132 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/1.085, allocations: 94.34 kB / 1.265 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/1.085, allocations: 26.45 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/1.085, allocations: 80.14 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.085, allocations: 0.7188 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/1.085, allocations: 11.34 kB / 1.265 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.085, allocations: 316.3 kB / 1.265 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/1.085, allocations: 3.938 kB / 1.265 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/1.085, allocations: 5 kB / 1.265 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.329e-05/1.085, allocations: 75.89 kB / 1.265 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.085, allocations: 76 kB / 1.265 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.68e-05/1.085, allocations: 36.77 kB / 1.265 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.085, allocations: 80.86 kB / 1.265 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.085, allocations: 80.64 kB / 1.265 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/1.085, allocations: 152.8 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.065e-05/1.085, allocations: 83.94 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.086, allocations: 151.9 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/1.086, allocations: 85.55 kB / 1.266 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.086, allocations: 75.8 kB / 1.266 GB, free: 4.574 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.032e-05/1.086, allocations: 262.5 kB / 1.266 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/1.086, allocations: 111.6 kB / 1.266 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/1.086, allocations: 110 kB / 1.266 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.086, allocations: 181.8 kB / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/1.086, allocations: 182.1 kB / 1.267 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001945/1.086, allocations: 182.6 kB / 1.267 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/1.086, allocations: 402 kB / 1.267 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.736e-05/1.086, allocations: 110.5 kB / 1.267 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/1.086, allocations: 110.4 kB / 1.268 GB, free: 18.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/1.086, allocations: 181.7 kB / 1.268 GB, free: 18.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/1.087, allocations: 178.4 kB / 1.268 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.638e-05/1.087, allocations: 177.8 kB / 1.268 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-05/1.087, allocations: 190.2 kB / 1.268 GB, free: 18.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/1.087, allocations: 309.7 kB / 1.269 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/1.087, allocations: 180.2 kB / 1.269 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/1.087, allocations: 183 kB / 1.269 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/1.087, allocations: 106.3 kB / 1.269 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/1.087, allocations: 185.8 kB / 1.269 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/1.087, allocations: 107.2 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.441e-05/1.087, allocations: 77.95 kB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.087, allocations: 0 / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002664/1.088, allocations: 0.75 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.00016/1.088, allocations: 174.1 kB / 1.27 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.891e-05/1.088, allocations: 4.906 kB / 1.27 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.088, allocations: 0 / 1.27 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/1.088, allocations: 0.75 kB / 1.27 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/1.088, allocations: 469.5 kB / 1.27 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/1.088, allocations: 179.4 kB / 1.27 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/1.089, allocations: 0.6762 MB / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/1.089, allocations: 11.38 kB / 1.271 GB, free: 15.41 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.089, allocations: 0.75 kB / 1.271 GB, free: 15.41 MB / 1.014 GB Notification: Performance of Templates: time 0.001709/1.09, allocations: 325 kB / 1.271 GB, free: 15.39 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.78453179798089]