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.0007378/0.0007377, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0007696/0.0007696, allocations: 172.7 kB / 15.95 MB, free: 208 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.217/1.217, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.59/1.59, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004757/0.0004757, allocations: 21.31 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.0008893/0.207, allocations: 0.5842 MB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2082, allocations: 1.165 MB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.2082, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.2083, allocations: 3.938 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.2083, allocations: 15.86 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2088, allocations: 135 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2089, allocations: 135.7 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.209, allocations: 29.11 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.2091, allocations: 51.83 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.2092, allocations: 51.81 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2092, allocations: 4 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.2093, allocations: 27.98 kB / 0.7896 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.2093, allocations: 19.91 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.2094, allocations: 49.64 kB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2095, allocations: 108 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2095, allocations: 4 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2095, allocations: 0 / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2095, allocations: 3.938 kB / 0.7897 GB, free: 9.418 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.0005117/0.21, allocations: 432.7 kB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2101, allocations: 12.03 kB / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.2101, allocations: 34.56 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.2102, allocations: 11.91 kB / 0.7902 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.2106, allocations: 266.6 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2107, allocations: 12 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.2107, allocations: 12 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2109, allocations: 96.67 kB / 0.7906 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2109, allocations: 3.984 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2109, allocations: 4 kB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2109, allocations: 0 / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2111, allocations: 59.89 kB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.2117, allocations: 396.4 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.2118, allocations: 46.48 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.2119, allocations: 28.8 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2119, allocations: 0 / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2121, allocations: 99.48 kB / 0.7912 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2122, allocations: 0 / 0.7912 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003603/0.2125, allocations: 153.5 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2126, allocations: 51.41 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.2127, allocations: 144.4 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2127, allocations: 33.7 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.2128, allocations: 108.1 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.2128, allocations: 35.59 kB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.2128, allocations: 0 / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.2129, allocations: 326.8 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.213, allocations: 47.97 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2132, allocations: 139.5 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2134, allocations: 89.62 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2134, allocations: 7.938 kB / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004161/0.2138, allocations: 247 kB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.2138, allocations: 37.64 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2139, allocations: 4 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2139, allocations: 4 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.214, allocations: 36.3 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.214, allocations: 4 kB / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2142, allocations: 51.8 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2142, allocations: 16 kB / 0.7927 GB, free: 6.141 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 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.2143, allocations: 130.4 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.2144, allocations: 15.86 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.2144, allocations: 12.72 kB / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2144, allocations: 4 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2144, allocations: 0 / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2144, allocations: 3.938 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.2149, allocations: 414.2 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2149, allocations: 0 / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.215, allocations: 19.92 kB / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.215, allocations: 0 / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.215, allocations: 4 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.215, allocations: 0 / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.215, allocations: 4 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.2154, allocations: 255.3 kB / 0.7935 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2154, allocations: 89.02 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2155, allocations: 0 / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.2156, allocations: 16.03 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.2156, allocations: 7.984 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2156, allocations: 4 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.2157, allocations: 103.2 kB / 0.7937 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2157, allocations: 0 / 0.7937 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002659/0.216, allocations: 32.09 kB / 0.7937 GB, free: 4.945 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 (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.0005939/0.2166, allocations: 0.8052 MB / 0.7945 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2169, allocations: 191.2 kB / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2169, allocations: 0.75 kB / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.217, allocations: 43.97 kB / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2173, allocations: 18.52 kB / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2186, allocations: 0.8972 MB / 0.7956 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2188, allocations: 0.7084 MB / 0.7963 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.863e-05/0.2189, allocations: 16.64 kB / 0.7963 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.2189, allocations: 39.42 kB / 0.7964 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2189, allocations: 4 kB / 0.7964 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.2312, allocations: 2.8 MB / 0.7991 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.2314, allocations: 202.4 kB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.76, allocations: 0 / 0.7993 GB, free: 15.23 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/linux/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) Environment - environmentSimulation: