Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.666/2.666, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 180.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009964/0.0009963, allocations: 87.17 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007024/0.0007027, allocations: 13.7 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2177, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002225/0.2199, allocations: 1.622 MB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2213, allocations: 0.6479 MB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2215, allocations: 4 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.2215, allocations: 15.86 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2217, allocations: 31.7 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.2222, allocations: 115.8 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.2225, allocations: 287.1 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2227, allocations: 44.38 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2229, allocations: 107.7 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2231, allocations: 135.5 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.2232, allocations: 16 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.2232, allocations: 15.94 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.2233, allocations: 63.8 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.2234, allocations: 61.58 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2236, allocations: 207.7 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2237, allocations: 0 / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2237, allocations: 0 / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2237, allocations: 0 / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001595/0.2253, allocations: 0.614 MB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2254, allocations: 12.03 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.407e-05/0.2254, allocations: 58.55 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.2255, allocations: 39.66 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2257, allocations: 195.5 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.2259, allocations: 267.8 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.226, allocations: 39.83 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.2267, allocations: 249.8 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.2267, allocations: 11.98 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.2267, allocations: 4 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2268, allocations: 15.98 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.2275, allocations: 183.8 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2289, allocations: 0.7739 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.2297, allocations: 212.2 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.2301, allocations: 146.8 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.2302, allocations: 8.172 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/0.231, allocations: 323.6 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.437e-06/0.231, allocations: 0 / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001642/0.2326, allocations: 0.492 MB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2327, allocations: 118.8 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2329, allocations: 175.5 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.233, allocations: 37.7 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.2331, allocations: 117.2 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.2332, allocations: 150 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2333, allocations: 12 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.2334, allocations: 342.8 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.2339, allocations: 149.2 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.2344, allocations: 260.8 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.235, allocations: 163.9 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.235, allocations: 0 / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001341/0.2363, allocations: 0.4936 MB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2364, allocations: 13.56 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2364, allocations: 4 kB / 0.9872 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.2364, allocations: 4 kB / 0.9872 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.2371, allocations: 99.81 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.2371, allocations: 8 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.2376, allocations: 75.53 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.2377, allocations: 20 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002218/0.2379, allocations: 160.2 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.238, allocations: 27.67 kB / 0.9876 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.2381, allocations: 33.95 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2381, allocations: 8 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2381, allocations: 0 / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2382, allocations: 7.984 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.2386, allocations: 361.2 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2386, allocations: 0 / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.2394, allocations: 79.89 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.2394, allocations: 7.953 kB / 0.9881 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.2395, allocations: 12.06 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.2395, allocations: 4.078 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2395, allocations: 3.984 kB / 0.9881 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2412, allocations: 0.6018 MB / 0.9887 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.2413, allocations: 108.7 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.2413, allocations: 11.95 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.2418, allocations: 48.16 kB / 0.9888 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2419, allocations: 39.94 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.242, allocations: 15.94 kB / 0.9889 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001051/0.2421, allocations: 133.1 kB / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2421, allocations: 0 / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004445/0.2426, allocations: 72 kB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001877/0.2444, allocations: 1.162 MB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.2457, allocations: 390.7 kB / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2457, allocations: 3.938 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.2462, allocations: 175.8 kB / 0.9908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.2468, allocations: 52.11 kB / 0.9908 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.2507, allocations: 1.864 MB / 0.9926 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.251, allocations: 0.7686 MB / 0.9934 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002906/0.2513, allocations: 35.16 kB / 0.9934 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.2515, allocations: 91.39 kB / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.213e-06/0.2515, allocations: 4 kB / 0.9935 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2798, allocations: 5.558 MB / 0.9989 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.2801, allocations: 218.5 kB / 0.9992 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/3.121, allocations: 0 / 0.9992 GB, free: 6.566 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)