Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001224/0.001224, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002757, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001057/0.001057, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002405, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9291/0.9291, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1062/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.909/1.909, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5418/2.451, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.888e-05, allocations: 3.344 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001258/0.001276, allocations: 0.7765 MB / 0.7301 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002421, allocations: 1.205 MB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.002465, allocations: 2.75 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.00249, allocations: 7.938 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.002541, allocations: 12.52 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.002834, allocations: 127.6 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.003003, allocations: 116.9 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.003085, allocations: 15.98 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.003207, allocations: 75.77 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.003288, allocations: 37.12 kB / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003311, allocations: 17.38 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.003385, allocations: 23.94 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.003407, allocations: 11.98 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.003447, allocations: 23.94 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.0036, allocations: 76.41 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-05/0.00362, allocations: 0 / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003621, allocations: 0.6875 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.00364, allocations: 0 / 0.7318 GB, free: 2.035 MB / 0.698 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.0005089/0.004149, allocations: 315.8 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004187, allocations: 12.62 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.004225, allocations: 4.938 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.004316, allocations: 121.7 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.004331, allocations: 13.38 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.004345, allocations: 4.375 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.004464, allocations: 64.12 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.004473, allocations: 192 / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004481, allocations: 384 / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.004488, allocations: 4.375 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.004517, allocations: 12.42 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.00481, allocations: 181 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.004894, allocations: 35.41 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.004913, allocations: 13.45 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.004919, allocations: 0 / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.005021, allocations: 73.25 kB / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.005022, allocations: 0 / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001332/0.005155, allocations: 77.67 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.005195, allocations: 55.39 kB / 0.7327 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.005258, allocations: 127.6 kB / 0.7329 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.005278, allocations: 33.7 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.005314, allocations: 88.12 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.005333, allocations: 20.33 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.005381, allocations: 38.75 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.005468, allocations: 322.8 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.005517, allocations: 49.69 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.005576, allocations: 94.81 kB / 0.7335 GB, free: 136 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.005654, allocations: 103.3 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.005656, allocations: 0 / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001506/0.005807, allocations: 170.3 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.005843, allocations: 35.73 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005848, allocations: 1.219 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.00586, allocations: 11.88 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.005926, allocations: 15.98 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.00593, allocations: 6.031 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.006011, allocations: 23.94 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.006023, allocations: 7.984 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.577e-05/0.006089, allocations: 117.7 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.006097, allocations: 11.92 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.006123, allocations: 12.44 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.006126, allocations: 3.938 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006127, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006131, allocations: 1.188 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.006304, allocations: 218.8 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006306, allocations: 0 / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.006332, allocations: 16.45 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.006341, allocations: 8.672 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006343, allocations: 4 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.006349, allocations: 0.8438 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.006352, allocations: 8.312 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006352, allocations: 1.031 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.00643, allocations: 159.5 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.006446, allocations: 3.938 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.006481, allocations: 4.688 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.006512, allocations: 11.98 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006515, allocations: 1.781 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.006531, allocations: 21.33 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006531, allocations: 0 / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001369/0.006668, allocations: 20 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.833e-05/0.006766, allocations: 98.19 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.006912, allocations: 153.9 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.006916, allocations: 2.75 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.006947, allocations: 28.84 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.007083, allocations: 15.92 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.007536, allocations: 172.9 kB / 0.7349 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.007569, allocations: 61.16 kB / 0.735 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.007591, allocations: 4 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.007665, allocations: 71.3 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/0.007666, allocations: 0.75 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.003429/0.0111, allocations: 1.691 MB / 0.7367 GB, free: 12.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.87764832470566]