Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001835/0.001835, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001458/0.001458, allocations: 186 kB / 20.78 MB, free: 1.547 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.523/1.523, allocations: 225.6 MB / 249.4 MB, free: 3.121 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.083/3.083, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 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.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0033/0.0033, allocations: 63.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295/1.298, allocations: 173.7 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002072/1.3, allocations: 0.7498 MB / 1.306 GB, free: 32.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001738/1.302, allocations: 1.162 MB / 1.307 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/1.302, allocations: 0 / 1.307 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/1.302, allocations: 3.938 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/1.302, allocations: 14.12 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/1.303, allocations: 124.5 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/1.303, allocations: 123.9 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/1.303, allocations: 20.78 kB / 1.308 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/1.303, allocations: 41.39 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/1.303, allocations: 47.56 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/1.303, allocations: 11.28 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.3e-05/1.303, allocations: 24.88 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/1.303, allocations: 14.25 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/1.303, allocations: 46.47 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/1.303, allocations: 110.8 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.303, allocations: 3.047 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 8.82e-07/1.303, allocations: 0 / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.303, allocations: 0 / 1.308 GB, free: 31.88 MB / 1.061 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.0006097/1.304, allocations: 420.2 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.304, allocations: 9.188 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/1.304, allocations: 6.812 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/1.304, allocations: 171.2 kB / 1.308 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.304, allocations: 6.672 kB / 1.308 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/1.304, allocations: 8.906 kB / 1.308 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.304, allocations: 60.92 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.304, allocations: 4.188 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.304, allocations: 3.938 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.304, allocations: 2.906 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/1.305, allocations: 48.77 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/1.305, allocations: 325.1 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/1.305, allocations: 60.2 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/1.305, allocations: 36.31 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.305, allocations: 0 / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/1.306, allocations: 90.8 kB / 1.309 GB, free: 30.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.306, allocations: 4 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004396/1.306, allocations: 144.3 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.306, allocations: 61.7 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/1.306, allocations: 119.7 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/1.306, allocations: 32.73 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/1.306, allocations: 94.19 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/1.306, allocations: 22.95 kB / 1.31 GB, free: 30.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/1.306, allocations: 44.83 kB / 1.31 GB, free: 30.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/1.306, allocations: 314.5 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.306, allocations: 54.77 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/1.307, allocations: 81.95 kB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/1.307, allocations: 145.3 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.307, allocations: 0 / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003794/1.307, allocations: 217.3 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.307, allocations: 37.27 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.307, allocations: 2.25 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.307, allocations: 0 / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.307, allocations: 11.64 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.307, allocations: 3 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/1.308, allocations: 37.19 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/1.308, allocations: 7.906 kB / 1.31 GB, free: 29.72 MB / 1.061 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 9.588e-05/1.308, allocations: 127.2 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/1.308, allocations: 9.078 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/1.308, allocations: 8.375 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.308, allocations: 6.797 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.308, allocations: 0 / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.308, allocations: 0 / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/1.308, allocations: 382.9 kB / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.308, allocations: 0 / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/1.308, allocations: 13.34 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.308, allocations: 3.938 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.308, allocations: 0 / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.308, allocations: 2.969 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.308, allocations: 0 / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/1.309, allocations: 213.7 kB / 1.311 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/1.309, allocations: 83.66 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.309, allocations: 7.469 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/1.309, allocations: 5.406 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.309, allocations: 6.469 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.309, allocations: 14.56 kB / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.889e-05/1.309, allocations: 98.84 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.309, allocations: 0 / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002639/1.309, allocations: 20.19 kB / 1.311 GB, free: 28.87 MB / 1.061 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 0.000179/1.309, allocations: 105.1 kB / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003568/1.31, allocations: 162.7 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.31, allocations: 256 / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.31, allocations: 34.78 kB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/1.31, allocations: 14.94 kB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/1.31, allocations: 183.2 kB / 1.312 GB, free: 28.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.311, allocations: 0.6881 MB / 1.313 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.205e-05/1.311, allocations: 11.06 kB / 1.313 GB, free: 27.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/1.311, allocations: 17.02 kB / 1.313 GB, free: 27.82 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/1.311, allocations: 0 / 1.313 GB, free: 27.82 MB / 1.061 GB Notification: Performance of Templates: time 0.004482/1.315, allocations: 1.455 MB / 1.314 GB, free: 27.69 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.011045319028199]