Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005479/0.0005483, allocations: 12 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6954, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001835/0.6973, allocations: 1.168 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00048/0.6978, allocations: 228.2 kB / 0.7295 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.6979, allocations: 0 / 0.7295 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.6979, allocations: 4 kB / 0.7295 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.698, allocations: 7.922 kB / 0.7295 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.6982, allocations: 15.92 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.843e-05/0.6983, allocations: 51.86 kB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.6984, allocations: 15.97 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.6985, allocations: 23.86 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.6986, allocations: 23.86 kB / 0.7296 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.6986, allocations: 0 / 0.7296 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.6986, allocations: 4 kB / 0.7296 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.6986, allocations: 11.98 kB / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.6987, allocations: 37.62 kB / 0.7297 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.654e-05/0.6988, allocations: 47.89 kB / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6988, allocations: 0 / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6988, allocations: 0 / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6988, allocations: 0 / 0.7297 GB, free: 9.742 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000585/0.6994, allocations: 377.1 kB / 0.7301 GB, free: 9.328 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6994, allocations: 8.031 kB / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.6995, allocations: 7.906 kB / 0.7301 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.6996, allocations: 175 kB / 0.7303 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6997, allocations: 4 kB / 0.7303 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.6997, allocations: 4 kB / 0.7303 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.6999, allocations: 73.66 kB / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.6999, allocations: 0 / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6999, allocations: 4 kB / 0.7304 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6999, allocations: 3.938 kB / 0.7304 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.7001, allocations: 51.95 kB / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.7006, allocations: 308.7 kB / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.701, allocations: 118.5 kB / 0.7308 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.7011, allocations: 48.89 kB / 0.7309 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7011, allocations: 0 / 0.7309 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.7014, allocations: 83.44 kB / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7014, allocations: 0 / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.7018, allocations: 141.5 kB / 0.7311 GB, free: 8.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.7018, allocations: 59.3 kB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.7019, allocations: 126 kB / 0.7313 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.702, allocations: 29.7 kB / 0.7313 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.7021, allocations: 92.12 kB / 0.7314 GB, free: 7.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.7021, allocations: 19.73 kB / 0.7314 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.7021, allocations: 0 / 0.7314 GB, free: 7.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7022, allocations: 322.8 kB / 0.7317 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.7023, allocations: 27.98 kB / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.7024, allocations: 63.41 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.7025, allocations: 35.98 kB / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7026, allocations: 0 / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002516/0.7028, allocations: 129.4 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7028, allocations: 8 kB / 0.732 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7029, allocations: 96 / 0.732 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7029, allocations: 4 kB / 0.732 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.703, allocations: 15.98 kB / 0.732 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.703, allocations: 3.953 kB / 0.732 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.7031, allocations: 23.98 kB / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.7031, allocations: 4 kB / 0.732 GB, free: 7.184 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/0.7032, allocations: 121.8 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.7032, allocations: 7.906 kB / 0.7321 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.7032, allocations: 12.36 kB / 0.7321 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7032, allocations: 4 kB / 0.7321 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7033, allocations: 0 / 0.7321 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7033, allocations: 3.953 kB / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.7037, allocations: 370.5 kB / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7037, allocations: 0 / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.7038, allocations: 11.98 kB / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7038, allocations: 0 / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.7038, allocations: 0 / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.7038, allocations: 7.891 kB / 0.7325 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7038, allocations: 0 / 0.7325 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.7041, allocations: 215.8 kB / 0.7327 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.7042, allocations: 85 kB / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7042, allocations: 0 / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7043, allocations: 19.98 kB / 0.7328 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.7044, allocations: 16.5 kB / 0.7328 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.7044, allocations: 0 / 0.7328 GB, free: 6.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.7044, allocations: 99.14 kB / 0.7329 GB, free: 6.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7045, allocations: 4 kB / 0.7329 GB, free: 6.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002332/0.7047, allocations: 11.94 kB / 0.733 GB, free: 6.113 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.7048, allocations: 107.2 kB / 0.7331 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.7051, allocations: 87.94 kB / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7051, allocations: 0 / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.7052, allocations: 36.17 kB / 0.7332 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.7055, allocations: 19.59 kB / 0.7332 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.7059, allocations: 166.6 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.7062, allocations: 0.6888 MB / 0.734 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.7063, allocations: 11.78 kB / 0.734 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.7063, allocations: 11.44 kB / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.7063, allocations: 0 / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of Templates: time 0.003752/0.7101, allocations: 0.7417 MB / 0.7348 GB, free: 4.199 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: