Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.216/4.216, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.957e-05, allocations: 9.469 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 98.73 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2531/0.4786, allocations: 124.7 MB / 0.7507 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.479, allocations: 71.95 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.4921, allocations: 3.365 MB / 0.754 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4922, allocations: 0 / 0.754 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.4922, allocations: 4 kB / 0.754 GB, free: 8.797 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000812/0.4931, allocations: 442.6 kB / 0.7545 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.4931, allocations: 12.03 kB / 0.7545 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.4932, allocations: 19.77 kB / 0.7545 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.4936, allocations: 218.7 kB / 0.7547 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4936, allocations: 4 kB / 0.7547 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.4937, allocations: 8 kB / 0.7547 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001694/0.4938, allocations: 32 kB / 0.7547 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.4941, allocations: 137.5 kB / 0.7549 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4942, allocations: 0 / 0.7549 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4942, allocations: 0 / 0.7549 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4942, allocations: 7.953 kB / 0.7549 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.4957, allocations: 0.7135 MB / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4959, allocations: 46.5 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.496, allocations: 16.86 kB / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.496, allocations: 0 / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.4963, allocations: 106.8 kB / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.4963, allocations: 0 / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003153/0.4966, allocations: 97.44 kB / 0.7558 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.4967, allocations: 136.4 kB / 0.756 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4969, allocations: 146.7 kB / 0.7561 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.497, allocations: 29.7 kB / 0.7561 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4971, allocations: 119.9 kB / 0.7562 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.4971, allocations: 35.45 kB / 0.7563 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.4972, allocations: 0 / 0.7563 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4973, allocations: 334.8 kB / 0.7566 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.4974, allocations: 20 kB / 0.7566 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4976, allocations: 106 kB / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4977, allocations: 39.92 kB / 0.7567 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4977, allocations: 4 kB / 0.7568 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003494/0.4981, allocations: 137.3 kB / 0.7569 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4981, allocations: 8 kB / 0.7569 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4981, allocations: 8 kB / 0.7569 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4982, allocations: 4.406 kB / 0.7569 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.4984, allocations: 31.97 kB / 0.7569 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4984, allocations: 7.938 kB / 0.7569 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.4987, allocations: 19.98 kB / 0.757 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4987, allocations: 8 kB / 0.757 GB, free: 5.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001237/0.4988, allocations: 121.5 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002741/0.4991, allocations: 101.4 kB / 0.7572 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.4992, allocations: 15.81 kB / 0.7572 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.872e-05/0.4992, allocations: 17.83 kB / 0.7572 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4993, allocations: 0 / 0.7572 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.4993, allocations: 4 kB / 0.7572 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4993, allocations: 0 / 0.7572 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.5002, allocations: 470.4 kB / 0.7577 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5003, allocations: 0 / 0.7577 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5005, allocations: 23.92 kB / 0.7577 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.5005, allocations: 4 kB / 0.7577 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.5005, allocations: 3.938 kB / 0.7577 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5006, allocations: 7.938 kB / 0.7577 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5006, allocations: 0 / 0.7577 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.5011, allocations: 349.3 kB / 0.758 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.5011, allocations: 92.88 kB / 0.7581 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.5012, allocations: 8.031 kB / 0.7581 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.5015, allocations: 19.98 kB / 0.7582 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.5016, allocations: 7.984 kB / 0.7582 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.5016, allocations: 8.125 kB / 0.7582 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001331/0.5017, allocations: 121.2 kB / 0.7583 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5017, allocations: 0 / 0.7583 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004676/0.5022, allocations: 31.83 kB / 0.7583 GB, free: 3.984 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009594/0.5032, allocations: 1.096 MB / 0.7594 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.5035, allocations: 67.91 kB / 0.7594 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5035, allocations: 4 kB / 0.7595 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.5036, allocations: 31.94 kB / 0.7595 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.5043, allocations: 63.78 kB / 0.7595 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5055, allocations: 305.4 kB / 0.7598 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5059, allocations: 0.728 MB / 0.7605 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.506, allocations: 29.11 kB / 0.7606 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5061, allocations: 47.42 kB / 0.7606 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.5061, allocations: 0 / 0.7606 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.5474, allocations: 2.885 MB / 0.7634 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.5478, allocations: 157.3 kB / 0.7636 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.843, allocations: 4.031 kB / 0.7636 GB, free: 14.46 MB / 0.6511 GB