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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01562/0.01563, allocations: 106.2 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001294/0.001294, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.096/2.096, allocations: 194.6 MB / 211.3 MB, free: 10.97 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.419/2.419, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005126, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6779, allocations: 98.73 MB / 0.6835 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002245/0.6802, allocations: 1.404 MB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.6811, allocations: 302 kB / 0.6851 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.6812, allocations: 6.375 kB / 0.6851 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.6813, allocations: 7.359 kB / 0.6851 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.6814, allocations: 27.45 kB / 0.6852 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.6817, allocations: 44.83 kB / 0.6852 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.682, allocations: 109.2 kB / 0.6853 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.6821, allocations: 40.31 kB / 0.6853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.6822, allocations: 34.23 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.6823, allocations: 46.22 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.6824, allocations: 3.625 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.6824, allocations: 8.125 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.6824, allocations: 22.53 kB / 0.6854 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.6825, allocations: 47.36 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.6827, allocations: 98.27 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6827, allocations: 1.219 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6827, allocations: 0 / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6827, allocations: 0 / 0.6856 GB, free: 15.37 MB / 0.5261 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.0008034/0.6836, allocations: 459.1 kB / 0.686 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6836, allocations: 9.688 kB / 0.686 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.6837, allocations: 41.44 kB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.6837, allocations: 29.16 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.684, allocations: 214.8 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6841, allocations: 8.594 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.6841, allocations: 12.38 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.6846, allocations: 157.7 kB / 0.6865 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6846, allocations: 1.344 kB / 0.6865 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.6846, allocations: 6.031 kB / 0.6865 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6846, allocations: 2.781 kB / 0.6865 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.685, allocations: 86.5 kB / 0.6866 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.6862, allocations: 0.7466 MB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.6865, allocations: 47.91 kB / 0.6873 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.6865, allocations: 5.812 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.6869, allocations: 129.3 kB / 0.6875 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 4.709e-06/0.6869, allocations: 1.281 kB / 0.6875 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007622/0.6877, allocations: 183.9 kB / 0.6876 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6878, allocations: 134.9 kB / 0.6878 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6881, allocations: 208.7 kB / 0.688 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.6881, allocations: 34.89 kB / 0.688 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.6882, allocations: 124.8 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.6882, allocations: 31.22 kB / 0.6882 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.6883, allocations: 0 / 0.6882 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.6883, allocations: 330 kB / 0.6885 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.6886, allocations: 39.56 kB / 0.6885 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.6888, allocations: 135.3 kB / 0.6886 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.6891, allocations: 58.25 kB / 0.6887 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6891, allocations: 1.406 kB / 0.6887 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006083/0.6897, allocations: 191.9 kB / 0.6889 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.6897, allocations: 6.844 kB / 0.6889 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6898, allocations: 7.734 kB / 0.6889 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.6898, allocations: 4.812 kB / 0.6889 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.69, allocations: 30.86 kB / 0.6889 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.69, allocations: 13.05 kB / 0.6889 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.6903, allocations: 32.09 kB / 0.689 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.6903, allocations: 11.47 kB / 0.689 GB, free: 12.57 MB / 0.5261 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,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0001413/0.6905, allocations: 128.1 kB / 0.6891 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.6905, allocations: 17.28 kB / 0.6891 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-05/0.6906, allocations: 21.45 kB / 0.6891 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6906, allocations: 2.375 kB / 0.6891 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6906, allocations: 5.766 kB / 0.6891 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6906, allocations: 9.812 kB / 0.6892 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.6918, allocations: 0.5268 MB / 0.6897 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6919, allocations: 0.9688 kB / 0.6897 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.6921, allocations: 18.11 kB / 0.6897 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.6921, allocations: 1.859 kB / 0.6897 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.6922, allocations: 15.16 kB / 0.6897 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.6922, allocations: 1.094 kB / 0.6897 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6922, allocations: 1.156 kB / 0.6897 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.693, allocations: 408.3 kB / 0.6901 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.6931, allocations: 91.77 kB / 0.6902 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.6931, allocations: 3.438 kB / 0.6902 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.6934, allocations: 27.67 kB / 0.6902 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.6935, allocations: 9.969 kB / 0.6902 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.6935, allocations: 5.031 kB / 0.6902 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001733/0.6937, allocations: 142.2 kB / 0.6904 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.6937, allocations: 3.938 kB / 0.6904 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004837/0.6942, allocations: 29.16 kB / 0.6904 GB, free: 11.43 MB / 0.5261 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,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.001103/0.6953, allocations: 1.159 MB / 0.6915 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.6959, allocations: 112.8 kB / 0.6916 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6959, allocations: 0 / 0.6916 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.6962, allocations: 54.86 kB / 0.6917 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.6969, allocations: 74.11 kB / 0.6918 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.7, allocations: 3.041 MB / 0.6947 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.7003, allocations: 0.7303 MB / 0.6954 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.7005, allocations: 18.61 kB / 0.6955 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.7006, allocations: 48.23 kB / 0.6955 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of SimCode: time 1.714e-06/0.7006, allocations: 0 / 0.6955 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.7317, allocations: 3.503 MB / 0.6989 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.732, allocations: 213.2 kB / 0.6991 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.294, allocations: 0 / 0.6991 GB, free: 6.113 MB / 0.5261 GB