Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 180.2 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.578 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008899, allocations: 90.66 kB / 0.6826 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 11.56 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 106.3 MB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002162/0.2265, allocations: 1.437 MB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.2274, allocations: 291.9 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2275, allocations: 4 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.2277, allocations: 23.84 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.2278, allocations: 19.8 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2281, allocations: 47.95 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.2283, allocations: 131.6 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2285, allocations: 53.52 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.2286, allocations: 39.78 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.2287, allocations: 43.72 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2287, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.2287, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.2288, allocations: 19.86 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.2289, allocations: 85.3 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.229, allocations: 119.5 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2291, allocations: 0 / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2291, allocations: 0 / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2291, allocations: 0 / 0.9032 GB, free: 61.32 MB / 0.6042 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.0006582/0.2297, allocations: 447.9 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2298, allocations: 12.03 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.2299, allocations: 42.73 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2299, allocations: 16.75 kB / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2301, allocations: 220.7 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.2301, allocations: 8.375 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2302, allocations: 12.38 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.2305, allocations: 146.5 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2306, allocations: 11.88 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2306, allocations: 7.938 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2306, allocations: 4 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2309, allocations: 79.88 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.2317, allocations: 0.7509 MB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.2319, allocations: 50.5 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.232, allocations: 40.83 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.232, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.2323, allocations: 134.7 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.2323, allocations: 0 / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004672/0.2328, allocations: 181.5 kB / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2328, allocations: 132.5 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.233, allocations: 198.3 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.233, allocations: 37.69 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2331, allocations: 112.2 kB / 0.9057 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.2331, allocations: 35.56 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.2331, allocations: 0 / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.2332, allocations: 330.8 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2333, allocations: 39.97 kB / 0.9061 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2335, allocations: 131.8 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2338, allocations: 191.8 kB / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2338, allocations: 0 / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000344/0.2341, allocations: 193.6 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2342, allocations: 11.94 kB / 0.9066 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2342, allocations: 4 kB / 0.9066 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2342, allocations: 8.031 kB / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2343, allocations: 27.98 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2343, allocations: 11.92 kB / 0.9067 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2345, allocations: 31.98 kB / 0.9067 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.2345, allocations: 12 kB / 0.9067 GB, free: 57.33 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.2346, allocations: 133.2 kB / 0.9068 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2346, allocations: 19.75 kB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.2347, allocations: 21.39 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2347, allocations: 4 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2347, allocations: 4 kB / 0.9069 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2347, allocations: 4 kB / 0.9069 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.2353, allocations: 0.5252 MB / 0.9074 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2353, allocations: 0 / 0.9074 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2355, allocations: 19.98 kB / 0.9074 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2355, allocations: 7.875 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2355, allocations: 4 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2355, allocations: 0 / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2355, allocations: 4 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.236, allocations: 380.1 kB / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.236, allocations: 92.95 kB / 0.9079 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.236, allocations: 7.938 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2362, allocations: 19.98 kB / 0.9079 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.2363, allocations: 7.984 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2363, allocations: 4 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.789e-05/0.2364, allocations: 144.2 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2364, allocations: 0 / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003001/0.2367, allocations: 31.88 kB / 0.9081 GB, free: 55.81 MB / 0.6042 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 (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.0006692/0.2374, allocations: 0.9139 MB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.2377, allocations: 115.8 kB / 0.9091 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2377, allocations: 0.8125 kB / 0.9091 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2378, allocations: 60.03 kB / 0.9092 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.2383, allocations: 47.47 kB / 0.9092 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.2406, allocations: 2.253 MB / 0.9114 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.2408, allocations: 0.7205 MB / 0.9121 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.2409, allocations: 18.03 kB / 0.9121 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.2409, allocations: 43.42 kB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2409, allocations: 7.938 kB / 0.9122 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.2647, allocations: 3.131 MB / 0.9152 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2649, allocations: 243.2 kB / 0.9155 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.201, allocations: 0 / 0.9155 GB, free: 48.2 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)