Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.001648/0.001648, allocations: 118.5 kB / 17.13 MB, free: 5.758 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.001838/0.001838, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001906/0.3045, allocations: 0.7284 MB / 1.215 GB, free: 220 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.3055, allocations: 0.835 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.3055, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.3056, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.3056, allocations: 7.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.3058, allocations: 19.97 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.3059, allocations: 43.91 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.306, allocations: 12 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.306, allocations: 19.86 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.3061, allocations: 23.91 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3061, allocations: 4 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.3061, allocations: 4 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3061, allocations: 15.92 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3062, allocations: 15.92 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3063, allocations: 51.69 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3063, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3063, allocations: 0 / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3063, allocations: 0 / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006874/0.307, allocations: 383.3 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.307, allocations: 8.031 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.307, allocations: 4.891 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3072, allocations: 176.3 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3072, allocations: 384 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3072, allocations: 4.375 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3074, allocations: 66.2 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3074, allocations: 192 / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3074, allocations: 11.88 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3074, allocations: 4 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.3076, allocations: 43.95 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3082, allocations: 292.8 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.3085, allocations: 58.48 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3086, allocations: 25 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3086, allocations: 3.984 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3086, allocations: 30.56 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3086, allocations: 0 / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003781/0.309, allocations: 93.64 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.309, allocations: 51.41 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3091, allocations: 117.7 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3092, allocations: 33.7 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.3092, allocations: 88.12 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3092, allocations: 8.266 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3093, allocations: 17.72 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3094, allocations: 322.8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3095, allocations: 23.97 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.3096, allocations: 27.86 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3098, allocations: 44.81 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3098, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002331/0.31, allocations: 81.61 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.31, allocations: 7.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3101, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3101, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.3101, allocations: 7.984 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3101, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3103, allocations: 15.98 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3103, allocations: 4 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.044e-05/0.3103, allocations: 121.8 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3104, allocations: 3.984 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3106, allocations: 73.89 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3106, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.3107, allocations: 7.984 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3107, allocations: 7.969 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3109, allocations: 177.5 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3109, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.311, allocations: 7.984 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.311, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.311, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.311, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.311, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3113, allocations: 167.5 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3113, allocations: 89.06 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3113, allocations: 3.984 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3115, allocations: 11.98 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3115, allocations: 7.984 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3115, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.3116, allocations: 95.2 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002279/0.3118, allocations: 12 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001239/0.3119, allocations: 99.53 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3122, allocations: 43.95 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3122, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3123, allocations: 31.86 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3126, allocations: 14.28 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.313, allocations: 171.6 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3133, allocations: 0.6807 MB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.3133, allocations: 7.438 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.3133, allocations: 4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.002409/0.3157, allocations: 0.7743 MB / 1.22 GB, free: 10.13 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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: 10.159544121008366]