Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",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.00116/0.001161, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.001488/0.001488, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004125, allocations: 12 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8182, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002452/0.8207, allocations: 1.625 MB / 0.9827 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8219, allocations: 0.6081 MB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.8221, allocations: 4 kB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.8222, allocations: 15.8 kB / 0.9834 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.8223, allocations: 31.7 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.8229, allocations: 131.8 kB / 0.9835 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.8234, allocations: 287.1 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.8236, allocations: 48.3 kB / 0.9838 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.8239, allocations: 107.7 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.8242, allocations: 131.5 kB / 0.9841 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.8242, allocations: 16 kB / 0.9841 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.8243, allocations: 16 kB / 0.9841 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.8244, allocations: 63.78 kB / 0.9842 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.8245, allocations: 61.58 kB / 0.9842 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.8248, allocations: 209.7 kB / 0.9844 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8248, allocations: 0 / 0.9844 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.777e-06/0.8248, allocations: 4 kB / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8248, allocations: 7.938 kB / 0.9844 GB, free: 2.855 MB / 0.7325 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.001286/0.8261, allocations: 0.6002 MB / 0.985 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.8262, allocations: 8.031 kB / 0.985 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.8263, allocations: 62.48 kB / 0.9851 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.8264, allocations: 31.62 kB / 0.9851 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.8266, allocations: 199.5 kB / 0.9853 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.8268, allocations: 263.8 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.8269, allocations: 36 kB / 0.9856 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.8274, allocations: 265.7 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.8275, allocations: 0 / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.8275, allocations: 15.98 kB / 0.9859 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.8275, allocations: 4 kB / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.828, allocations: 183.8 kB / 0.986 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.8292, allocations: 0.7855 MB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.8297, allocations: 212.3 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.83, allocations: 138.8 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.8301, allocations: 12.17 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.8306, allocations: 319.4 kB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.8306, allocations: 0 / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48): time 0.001035/0.8317, allocations: 497 kB / 0.9879 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.8318, allocations: 114.8 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.832, allocations: 179.3 kB / 0.9882 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.832, allocations: 45.64 kB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.8321, allocations: 113.3 kB / 0.9884 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.8322, allocations: 150 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.8323, allocations: 12 kB / 0.9885 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8324, allocations: 350.8 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.8328, allocations: 149.2 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.8331, allocations: 260.8 kB / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.8335, allocations: 167.9 kB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8335, allocations: 0 / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008441/0.8343, allocations: 497.4 kB / 0.9899 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.8344, allocations: 4 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8344, allocations: 8 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.8344, allocations: 8.094 kB / 0.9899 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.8348, allocations: 95.83 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.8348, allocations: 7.984 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.8351, allocations: 71.64 kB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.8352, allocations: 20 kB / 0.9901 GB, free: 12.68 MB / 0.7481 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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.0001717/0.8353, allocations: 163.4 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.8354, allocations: 31.61 kB / 0.9903 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.8355, allocations: 33.81 kB / 0.9903 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8355, allocations: 4 kB / 0.9903 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8355, allocations: 0 / 0.9903 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.8355, allocations: 11.98 kB / 0.9903 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.8359, allocations: 365 kB / 0.9907 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8359, allocations: 8.047 kB / 0.9907 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.8363, allocations: 71.91 kB / 0.9907 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.8363, allocations: 4 kB / 0.9907 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.8364, allocations: 11.98 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8364, allocations: 4 kB / 0.9908 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8364, allocations: 0 / 0.9908 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.8374, allocations: 0.5979 MB / 0.9913 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.8375, allocations: 104.9 kB / 0.9914 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.8376, allocations: 11.92 kB / 0.9914 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.8378, allocations: 47.97 kB / 0.9915 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.838, allocations: 39.94 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.838, allocations: 12 kB / 0.9915 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.446e-05/0.8381, allocations: 128.1 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8381, allocations: 0 / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003367/0.8384, allocations: 79.94 kB / 0.9917 GB, free: 10.87 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.001378/0.8398, allocations: 1.162 MB / 0.9929 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.8406, allocations: 395.6 kB / 0.9933 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8406, allocations: 0 / 0.9933 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.841, allocations: 184.4 kB / 0.9934 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8413, allocations: 48.59 kB / 0.9935 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.8444, allocations: 1.863 MB / 0.9953 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.8447, allocations: 0.7686 MB / 0.996 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.8449, allocations: 39.16 kB / 0.9961 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.8451, allocations: 87.34 kB / 0.9962 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of SimCode: time 4.8e-07/0.8451, allocations: 0 / 0.9962 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.8652, allocations: 5.534 MB / 1.002 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.8654, allocations: 226.7 kB / 1.002 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.82, allocations: 2.875 kB / 1.002 GB, free: 0.6328 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat