Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008824, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00496/0.00496, allocations: 173.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.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.0004692/0.0004692, allocations: 19 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001074/0.1918, allocations: 0.6084 MB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1934, allocations: 1.18 MB / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.1935, allocations: 0 / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.1935, allocations: 11.86 kB / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.766e-05/0.1936, allocations: 7.875 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.1942, allocations: 151.2 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1944, allocations: 147.7 kB / 0.7901 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1945, allocations: 29.09 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1947, allocations: 63.75 kB / 0.7902 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.1948, allocations: 47.77 kB / 0.7902 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1948, allocations: 12 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.1949, allocations: 23.97 kB / 0.7902 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.1949, allocations: 15.92 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.195, allocations: 81.47 kB / 0.7903 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1952, allocations: 151.7 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1952, allocations: 4 kB / 0.7905 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1952, allocations: 3.938 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1952, allocations: 0 / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005855/0.1958, allocations: 440.8 kB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1959, allocations: 8.031 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1959, allocations: 42.73 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.196, allocations: 12.84 kB / 0.791 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.1965, allocations: 268.1 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1965, allocations: 8.375 kB / 0.7912 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1966, allocations: 12.38 kB / 0.7912 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1968, allocations: 97.95 kB / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1968, allocations: 0 / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1968, allocations: 0 / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1968, allocations: 4 kB / 0.7913 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.197, allocations: 55.95 kB / 0.7914 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.1977, allocations: 396.5 kB / 0.7918 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1979, allocations: 34.56 kB / 0.7918 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.198, allocations: 36.89 kB / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.198, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1982, allocations: 103.3 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1982, allocations: 3.938 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004372/0.1987, allocations: 149.5 kB / 0.7921 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1987, allocations: 55.34 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1988, allocations: 140.6 kB / 0.7923 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1989, allocations: 33.7 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1989, allocations: 112 kB / 0.7924 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.199, allocations: 31.59 kB / 0.7924 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.199, allocations: 29.72 kB / 0.7925 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1991, allocations: 318.8 kB / 0.7928 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1993, allocations: 55.95 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1995, allocations: 137.2 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1998, allocations: 212.6 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1998, allocations: 0 / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004718/0.2003, allocations: 247 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.2003, allocations: 37.69 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2004, allocations: 4 kB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2004, allocations: 7.938 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2005, allocations: 36.23 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2005, allocations: 7.984 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.2007, allocations: 55.8 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.2008, allocations: 12 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001029/0.2009, allocations: 138.4 kB / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.2009, allocations: 7.953 kB / 0.7937 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.201, allocations: 16.7 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.201, allocations: 3.938 kB / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.201, allocations: 0 / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.201, allocations: 0 / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.2015, allocations: 406.8 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2015, allocations: 0 / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.2016, allocations: 23.86 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2016, allocations: 0 / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2017, allocations: 12.09 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2017, allocations: 3.938 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2017, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.2021, allocations: 255.2 kB / 0.7944 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2021, allocations: 88.95 kB / 0.7945 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2022, allocations: 8 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.2023, allocations: 8.031 kB / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.2023, allocations: 7.984 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2023, allocations: 4 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.2024, allocations: 103.3 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2024, allocations: 0 / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000282/0.2027, allocations: 31.98 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000675/0.2034, allocations: 0.7981 MB / 0.7954 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.2037, allocations: 191.2 kB / 0.7956 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2038, allocations: 0.75 kB / 0.7956 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.2039, allocations: 43.97 kB / 0.7956 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2042, allocations: 20.36 kB / 0.7956 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2064, allocations: 2.017 MB / 0.7976 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.2066, allocations: 0.7084 MB / 0.7983 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.678e-05/0.2067, allocations: 16.64 kB / 0.7983 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.2067, allocations: 39.42 kB / 0.7983 GB, free: 196 kB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2067, allocations: 0 / 0.7983 GB, free: 196 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2546/0.4614, allocations: 2.851 MB / 0.8011 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.4616, allocations: 223.2 kB / 0.8013 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.092, allocations: 0 / 0.8013 GB, free: 13.28 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)