Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 168.1 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.699/1.699, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.939/2.939, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.072e-05, allocations: 6.281 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002273/0.002304, allocations: 0.678 MB / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.00442, allocations: 1.221 MB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.004481, allocations: 0 / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.004522, allocations: 3.938 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.004608, allocations: 11.92 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.005434, allocations: 227 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.00576, allocations: 179.6 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005872, allocations: 12 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.006091, allocations: 99.84 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.00625, allocations: 51.84 kB / 1.003 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.006295, allocations: 16 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.006395, allocations: 31.98 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.006426, allocations: 11.94 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.006522, allocations: 47.94 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.006875, allocations: 191.5 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006879, allocations: 0 / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.183e-06/0.00688, allocations: 0 / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.006891, allocations: 0 / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007355/0.007627, allocations: 373.5 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.007673, allocations: 8.031 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.007752, allocations: 8.938 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.007894, allocations: 113.7 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.007919, allocations: 8.375 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.007968, allocations: 20.3 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.008121, allocations: 50.17 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.008135, allocations: 3.938 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.00815, allocations: 3.984 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.008155, allocations: 4 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.008199, allocations: 8 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.00884, allocations: 288.4 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.008951, allocations: 34.52 kB / 1.004 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.009, allocations: 20.88 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.009006, allocations: 0 / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.009249, allocations: 91.36 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.00925, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003498/0.0096, allocations: 121.6 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.009657, allocations: 59.39 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.009797, allocations: 121.8 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.009849, allocations: 33.7 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.009943, allocations: 100.3 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.009969, allocations: 15.89 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.01008, allocations: 49.69 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01027, allocations: 322.8 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.01048, allocations: 127.3 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.01074, allocations: 169.4 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.01101, allocations: 189.3 kB / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.01102, allocations: 3.938 kB / 1.005 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005933/0.01161, allocations: 344.2 kB / 1.005 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.01168, allocations: 67.39 kB / 1.005 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.01169, allocations: 4 kB / 1.005 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.01171, allocations: 0 / 1.005 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.01177, allocations: 4.375 kB / 1.005 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01178, allocations: 4 kB / 1.005 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.01215, allocations: 63.98 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.01219, allocations: 15.98 kB / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001381/0.01233, allocations: 134.2 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.01235, allocations: 7.953 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.01237, allocations: 8.422 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01237, allocations: 0 / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01238, allocations: 8 kB / 1.006 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01238, allocations: 0 / 1.006 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.01272, allocations: 302.1 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01272, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.01274, allocations: 4 kB / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01275, allocations: 0 / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.01276, allocations: 0 / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01276, allocations: 4 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01276, allocations: 0 / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.01299, allocations: 207.3 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.013, allocations: 4 kB / 1.006 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01302, allocations: 4 kB / 1.006 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.01309, allocations: 4 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.01312, allocations: 15.92 kB / 1.006 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.01313, allocations: 4 kB / 1.006 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.0132, allocations: 91.27 kB / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.0132, allocations: 0 / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003049/0.01351, allocations: 39.95 kB / 1.006 GB, free: 0.5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001925/0.0137, allocations: 103.2 kB / 1.006 GB, free: 396 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.01415, allocations: 298 kB / 1.007 GB, free: 60 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01416, allocations: 0 / 1.007 GB, free: 60 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.01422, allocations: 32.11 kB / 1.007 GB, free: 28 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.01457, allocations: 22.11 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.01503, allocations: 165.3 kB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.01512, allocations: 75.64 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.01515, allocations: 9.016 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.01518, allocations: 12.5 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.01518, allocations: 0 / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of Templates: time 0.006035/0.02122, allocations: 2.101 MB / 1.009 GB, free: 13.65 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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: 8.594642125070095]