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.001254/0.001254, allocations: 113.6 kB / 17.08 MB, free: 5.961 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.001344/0.001344, allocations: 194.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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.744/2.744, allocations: 437.1 MB / 0.7177 GB, free: 4.508 MB / 0.5606 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.002143/0.002143, allocations: 63.91 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3004, allocations: 151.6 MB / 1.176 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002116/0.3026, allocations: 0.7163 MB / 1.177 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3038, allocations: 0.8356 MB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.3039, allocations: 4 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.3039, allocations: 3.938 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.304, allocations: 3.938 kB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.3042, allocations: 19.91 kB / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.3043, allocations: 43.91 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3044, allocations: 19.98 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.3045, allocations: 11.94 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.3046, allocations: 23.91 kB / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3046, allocations: 7.984 kB / 1.178 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3046, allocations: 7.938 kB / 1.178 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.3046, allocations: 11.94 kB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3047, allocations: 15.92 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.3048, allocations: 47.75 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3048, allocations: 0 / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3048, allocations: 4 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3048, allocations: 0 / 1.178 GB, free: 4.094 MB / 0.92 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.00075/0.3056, allocations: 379.3 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3056, allocations: 15.97 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3057, allocations: 4.938 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.3059, allocations: 180.2 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3059, allocations: 4.375 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3059, allocations: 384 / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3061, allocations: 58.23 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3061, allocations: 4.188 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3062, allocations: 3.938 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3062, allocations: 3.984 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3064, allocations: 47.95 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.3069, allocations: 296.7 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3072, allocations: 54.55 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3074, allocations: 28.98 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3074, allocations: 0 / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.3074, allocations: 42.5 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3074, allocations: 0 / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003835/0.3078, allocations: 93.64 kB / 1.179 GB, free: 2.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3079, allocations: 51.41 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.308, allocations: 121.7 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.308, allocations: 25.7 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3081, allocations: 88.12 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3081, allocations: 11.89 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.3081, allocations: 17.72 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3083, allocations: 322.8 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.3084, allocations: 20.36 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.3085, allocations: 23.92 kB / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3087, allocations: 44.81 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3087, allocations: 0 / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002303/0.3089, allocations: 85.55 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3089, allocations: 10.34 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.309, allocations: 0 / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.309, allocations: 0 / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.3091, allocations: 11.98 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3091, allocations: 0 / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3092, allocations: 11.98 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3092, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 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 0.0001008/0.3093, allocations: 129.7 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3093, allocations: 0 / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3096, allocations: 81.55 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3096, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3096, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3097, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3099, allocations: 177.6 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3099, allocations: 384 / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3099, allocations: 15.98 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.31, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.31, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.31, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.31, allocations: 3.938 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3102, allocations: 175.4 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.3103, allocations: 89.05 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3103, allocations: 0 / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3105, allocations: 15.98 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3105, allocations: 3.984 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3106, allocations: 11.94 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.3106, allocations: 91.27 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3106, allocations: 0 / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002194/0.3109, allocations: 8 kB / 1.18 GB, free: 0.9531 MB / 0.92 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.0001365/0.311, allocations: 103.2 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3113, allocations: 51.89 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3113, allocations: 0 / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3114, allocations: 20.27 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3117, allocations: 15.86 kB / 1.181 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.3121, allocations: 159.7 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3125, allocations: 0.6807 MB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3125, allocations: 7.438 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.3125, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002411/0.3149, allocations: 0.7812 MB / 1.182 GB, free: 15.08 MB / 0.9356 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.238072726060636]